Subversion Repositories spk

Rev

Rev 248 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 248 Rev 331
Line 135... Line 135...
135
	bool RemoveGameCompatability(int game);
135
	bool RemoveGameCompatability(int game);
136
	void AddGameCompatability(int game, const Utils::WString &version);
136
	void AddGameCompatability(int game, const Utils::WString &version);
137
	bool CheckGameCompatability(int game);
137
	bool CheckGameCompatability(int game);
138
	bool checkGameVersionCompatability(int game, const Utils::WString &sVersion, int iVersion) const;
138
	bool checkGameVersionCompatability(int game, const Utils::WString &sVersion, int iVersion) const;
139
	bool AnyGameCompatability() { return !m_lGames.empty(); }
139
	bool AnyGameCompatability() { return !m_lGames.empty(); }
-
 
140
	bool anyGameCompatability() const { return !m_lGames.empty(); }
140
 
141
 
141
	// Files
142
	// Files
142
	C_File *GetFirstFile(int type) const;
143
	C_File *GetFirstFile(int type) const;
143
	C_File *GetNextFile(C_File *prev) const;
144
	C_File *GetNextFile(C_File *prev) const;
144
	C_File *GetPrevFile(C_File *next) const;
145
	C_File *GetPrevFile(C_File *next) const;
Line 204... Line 205...
204
	bool installFiles(const Utils::WString &destdir, CProgressInfo *progress, CLinkList<C_File> *spklist, Utils::WStringList *errorStr, bool enabled = true, CPackages *packages = NULL );
205
	bool installFiles(const Utils::WString &destdir, CProgressInfo *progress, CLinkList<C_File> *spklist, Utils::WStringList *errorStr, bool enabled = true, CPackages *packages = NULL );
205
	virtual bool IsPatch () { return false; }
206
	virtual bool IsPatch () { return false; }
206
 
207
 
207
	// installer functions
208
	// installer functions
208
	bool IsProfileEnabled () { return m_bProfile; }
209
	bool IsProfileEnabled () { return m_bProfile; }
-
 
210
	bool isEnabled() const { return m_bEnable; }
209
	bool IsEnabled () { return m_bEnable; }
211
	bool IsEnabled() { return m_bEnable; }
210
	bool IsModifiedEnabled () { return m_bModifiedEnabled; }
212
	bool IsModifiedEnabled () { return m_bModifiedEnabled; }
211
	bool IsGlobalEnabled () { return m_bGlobal; }
213
	bool IsGlobalEnabled () { return m_bGlobal; }
212
 
214
 
213
	void SetProfileEnabled ( bool en ) { m_bProfile = en; }
215
	void SetProfileEnabled ( bool en ) { m_bProfile = en; }
214
	void SetEnabled ( bool en ) { m_bEnable = en; }
216
	void SetEnabled ( bool en ) { m_bEnable = en; }
Line 230... Line 232...
230
	void addNeededLibrary(const Utils::WString &scriptName, const Utils::WString &author, const Utils::WString &minVersion);
232
	void addNeededLibrary(const Utils::WString &scriptName, const Utils::WString &author, const Utils::WString &minVersion);
231
	bool isPackageNeeded(const Utils::WString &scriptName, const Utils::WString &author);
233
	bool isPackageNeeded(const Utils::WString &scriptName, const Utils::WString &author);
232
	SNeededLibrary *findPackageNeeded(const Utils::WString &scriptName, const Utils::WString &author);
234
	SNeededLibrary *findPackageNeeded(const Utils::WString &scriptName, const Utils::WString &author);
233
	void removePackageNeeded(const Utils::WString &scriptName, const Utils::WString &author);
235
	void removePackageNeeded(const Utils::WString &scriptName, const Utils::WString &author);
234
	void ClearNeededPackages();
236
	void ClearNeededPackages();
235
	bool AnyDependacies() { return (m_lNeededLibrarys.size()) ? true: false; }
237
	bool AnyDependacies() { return (m_lNeededLibrarys.size()) ? true : false; }
-
 
238
	bool anyDependacies() const { return (m_lNeededLibrarys.size()) ? true : false; }
236
	bool AutoGenerateUpdateFile() { return m_bAutoGenerateUpdateFile; }
239
	bool AutoGenerateUpdateFile() { return m_bAutoGenerateUpdateFile; }
237
	void removeFakePatchOrder(bool after, const Utils::WString &scriptName, const Utils::WString &author);
240
	void removeFakePatchOrder(bool after, const Utils::WString &scriptName, const Utils::WString &author);
238
	void removeFakePatchOrder(const Utils::WString &scriptName, const Utils::WString &author);
241
	void removeFakePatchOrder(const Utils::WString &scriptName, const Utils::WString &author);
239
	void addFakePatchOrder(bool after, const Utils::WString &scriptName, const Utils::WString &author);
242
	void addFakePatchOrder(bool after, const Utils::WString &scriptName, const Utils::WString &author);
240
	bool anyFakePatchOrder() const { if ( !_lFakePatchBefore.empty() || !_lFakePatchAfter.empty() ) return true; return false; }
243
	bool anyFakePatchOrder() const { if ( !_lFakePatchBefore.empty() || !_lFakePatchAfter.empty() ) return true; return false; }