| Line 15... | Line 15... | 
          
            | 15 |  
 | 15 |  
 | 
          
            | 16 | class SPKEXPORT CCorePackage
 | 16 | class SPKEXPORT CCorePackage
 | 
          
            | 17 | {
 | 17 | {
 | 
          
            | 18 | private:
 | 18 | private:
 | 
          
            | 19 | 	Utils::WString _sName;
 | 19 | 	Utils::WString _sName;
 | 
          
            | 20 | 	Utils::String_sVersion;
 | 20 | 	Utils::WString _sVersion;
 | 
          
            | 21 | 	Utils::WString _sAuthor;
 | 21 | 	Utils::WString _sAuthor;
 | 
          
            | 22 | 	Utils::String _sWebSite;
 | 22 | 	Utils::String _sWebSite;
 | 
          
            | 23 | 	Utils::String _sWebAddress;
 | 23 | 	Utils::String _sWebAddress;
 | 
          
            | 24 | 	Utils::String _sEmail;
 | 24 | 	Utils::String _sEmail;
 | 
          
            | 25 | 	Utils::String _sDescription;
 | 25 | 	Utils::String _sDescription;
 | 
          
            | 26 | 	Utils::String_sCreationDate;
 | 26 | 	Utils::WString _sCreationDate;
 | 
          
            | 27 | 	Utils::String _sForumLink;
 | 27 | 	Utils::String _sForumLink;
 | 
          
            | 28 |  
 | 28 |  
 | 
          
            | 29 | 	Utils::WString _sFilename;
 | 29 | 	Utils::WString _sFilename;
 | 
          
            | 30 | 	Utils::String_sExportFilename;
 | 30 | 	Utils::WString _sExportFilename;
 | 
          
            | 31 |  
 | 31 |  
 | 
          
            | 32 | 	std::map<unsigned int, Utils::String> *_pAutoExtract;
 | 32 | 	std::map<unsigned int, Utils::String> *_pAutoExtract;
 | 
          
            | 33 | 	std::map<unsigned int, Utils::String> *_pAutoExport;
 | 33 | 	std::map<unsigned int, Utils::String> *_pAutoExport;
 | 
          
            | 34 | 	Utils::CList<SNames> *_lNames;
 | 34 | 	Utils::CList<SNames> *_lNames;
 | 
          
            | 35 |  
 | 35 |  
 | 
          
            | Line 48... | Line 48... | 
          
            | 48 | public:
 | 48 | public:
 | 
          
            | 49 | 	CCorePackage(void);
 | 49 | 	CCorePackage(void);
 | 
          
            | 50 | 	virtual ~CCorePackage(void);
 | 50 | 	virtual ~CCorePackage(void);
 | 
          
            | 51 |  
 | 51 |  
 | 
          
            | 52 | 	//getters
 | 52 | 	//getters
 | 
          
            | 53 | 	const Utils::WString &name			() const { return _sName; }
 | 53 | 	const Utils::WString &name				() const { return _sName; }
 | 
          
            | 54 | 	const Utils::String	&version	() const { return _sVersion; }
 | 54 | 	const Utils::WString &version	 		() const { return _sVersion; }
 | 
          
            | 55 | 	const Utils::WString &author		() const { return _sAuthor; }
 | 55 | 	const Utils::WString &author			() const { return _sAuthor; }
 | 
          
            | 56 | 	const Utils::String	&webSite		() const { return _sWebSite; }
 | 56 | 	const Utils::String	&webSite			() const { return _sWebSite; }
 | 
          
            | 57 | 	const Utils::String	&webAddress		() const { return _sWebAddress; }
 | 57 | 	const Utils::String	&webAddress			() const { return _sWebAddress; }
 | 
          
            | 58 | 	const Utils::String	&email			() const { return _sEmail; }
 | 58 | 	const Utils::String	&email				() const { return _sEmail; }
 | 
          
            | 59 | 	const Utils::String	&creationDate	() const { return _sCreationDate; }
 | 59 | 	const Utils::WString &creationDate		() const { return _sCreationDate; }
 | 
          
            | 60 | 	const Utils::String	&description	() const { return _sDescription; }
 | 60 | 	const Utils::String	&description		() const { return _sDescription; }
 | 
          
            | 61 | 	const Utils::String	&forumLink		() const { return _sForumLink; }
 | 61 | 	const Utils::String	&forumLink			() const { return _sForumLink; }
 | 
          
            | 62 | 	int					 recommended	() const { return _iRecommended; }
 | 62 | 	int					 recommended		() const { return _iRecommended; }
 | 
          
            | 63 | 	int					 easeOfUse		() const { return _iEaseOfUse; }
 | 63 | 	int					 easeOfUse			() const { return _iEaseOfUse; }
 | 
          
            | 64 | 	int					 gameChanging	() const { return _iGameChanging; }
 | 64 | 	int					 gameChanging		() const { return _iGameChanging; }
 | 
          
            | 65 | 	const Utils::WString &filename		() const { return _sFilename; }
 | 65 | 	const Utils::WString &filename			() const { return _sFilename; }
 | 
          
            | 66 | 	const Utils::String&exportFilename	() const { return _sExportFilename; }
 | 66 | 	const Utils::WString &exportFilename	() const { return _sExportFilename; }
 | 
          
            | 67 | 	const CInstallText  *installText	() const { return _pInstallText; }
 | 67 | 	const CInstallText  *installText		() const { return _pInstallText; }
 | 
          
            | 68 | 	const CInstallText  *uninstallText	() const { return _pUninstallText; }
 | 68 | 	const CInstallText  *uninstallText		() const { return _pUninstallText; }
 | 
          
            | 69 | 	int					 pluginType		() const { return _iPluginType; }
 | 69 | 	int					 pluginType			() const { return _iPluginType; }
 | 
          
            | 70 | 	bool				 hasChanged		() const { return _bChanged; }
 | 70 | 	bool				 hasChanged			() const { return _bChanged; }
 | 
          
            | 71 | 	const Utils::WString	&name			(int lang) const;
 | 71 | 	const Utils::WString	&name			(int lang) const;
 | 
          
            | 72 | 	const std::map<unsigned int, Utils::String> *autoExtraction() const { return _pAutoExtract; }
 | 72 | 	const std::map<unsigned int, Utils::String> *autoExtraction() const { return _pAutoExtract; }
 | 
          
            | 73 | 	const std::map<unsigned int, Utils::String> *autoExporter() const { return _pAutoExport; }
 | 73 | 	const std::map<unsigned int, Utils::String> *autoExporter() const { return _pAutoExport; }
 | 
          
            | 74 | 	const Utils::CList<SNames> *namesList() const { return _lNames; }
 | 74 | 	const Utils::CList<SNames> *namesList() const { return _lNames; }
 | 
          
            | 75 |  
 | 75 |  
 | 
          
            | 76 | 	//setters
 | 76 | 	//setters
 | 
          
            | 77 | 	void setName			( const Utils::WString &str ) { _changed(); _sName = str.remove(L'|'); }
 | 77 | 	void setName			( const Utils::WString &str ) { _changed(); _sName = str.remove(L'|'); }
 | 
          
            | 78 | 	void setVersion			( const Utils::String&str ) { _changed(); _sVersion = str; }
 | 78 | 	void setVersion			( const Utils::WString &str ) { _changed(); _sVersion = str; }
 | 
          
            | 79 | 	void setAuthor			( const Utils::WString &str ) { _changed(); _sAuthor = str.remove(L'|'); }
 | 79 | 	void setAuthor			( const Utils::WString &str ) { _changed(); _sAuthor = str.remove(L'|'); }
 | 
          
            | 80 | 	void setWebAddress		( const Utils::String &str ) { _changed(); _sWebAddress = str; }
 | 80 | 	void setWebAddress		( const Utils::String &str ) { _changed(); _sWebAddress = str; }
 | 
          
            | 81 | 	void setWebSite			( const Utils::String &str ) { _changed(); _sWebSite = str; }
 | 81 | 	void setWebSite			( const Utils::String &str ) { _changed(); _sWebSite = str; }
 | 
          
            | 82 | 	void setEmail			( const Utils::String &str ) { _changed(); _sEmail = str; }
 | 82 | 	void setEmail			( const Utils::String &str ) { _changed(); _sEmail = str; }
 | 
          
            | 83 | 	void setCreationDate	( const Utils::String&str ) { _changed(); _sCreationDate = str; }
 | 83 | 	void setCreationDate	( const Utils::WString &str ) { _changed(); _sCreationDate = str; }
 | 
          
            | 84 | 	void setDescription		( const Utils::String &str ) { _changed(); _parseDescription(str); }
 | 84 | 	void setDescription		( const Utils::String &str ) { _changed(); _parseDescription(str); }
 | 
          
            | 85 | 	void setFilename		( const Utils::WString &str ) { _sFilename = str; }
 | 85 | 	void setFilename		( const Utils::WString &str ) { _sFilename = str; }
 | 
          
            | 86 | 	void setExportFilename	( const Utils::String&str ) { _sExportFilename = str; }
 | 86 | 	void setExportFilename	( const Utils::WString &str ) { _sExportFilename = str; }
 | 
          
            | 87 | 	void setForumLink		( const Utils::String &str ) { _changed(); _sForumLink = str; }
 | 87 | 	void setForumLink		( const Utils::String &str ) { _changed(); _sForumLink = str; }
 | 
          
            | 88 | 	void setRecommended		( int i )					 { _changed(); _iRecommended = i; }
 | 88 | 	void setRecommended		( int i )					 { _changed(); _iRecommended = i; }
 | 
          
            | 89 | 	void setGameChanging	( int i )					 { _changed(); _iGameChanging = i; }
 | 89 | 	void setGameChanging	( int i )					 { _changed(); _iGameChanging = i; }
 | 
          
            | 90 | 	void setEaseOfUse		( int i )					 { _changed(); _iEaseOfUse = i; }
 | 90 | 	void setEaseOfUse		( int i )					 { _changed(); _iEaseOfUse = i; }
 | 
          
            | 91 | 	void setPluginType		( int i )					 { _changed(); _iPluginType = i; }
 | 91 | 	void setPluginType		( int i )					 { _changed(); _iPluginType = i; }
 | 
          
            | Line 94... | Line 94... | 
          
            | 94 | 	void addAutoExtract(unsigned int game, const Utils::String &dir);
 | 94 | 	void addAutoExtract(unsigned int game, const Utils::String &dir);
 | 
          
            | 95 | 	void addAutoExport(unsigned int game, const Utils::String &file);
 | 95 | 	void addAutoExport(unsigned int game, const Utils::String &file);
 | 
          
            | 96 | 	void clearAutoExtract();
 | 96 | 	void clearAutoExtract();
 | 
          
            | 97 | 	void clearAutoExport();
 | 97 | 	void clearAutoExport();
 | 
          
            | 98 |  
 | 98 |  
 | 
          
            | 99 | 	void addName(int iLang, const Utils::String& name);
 | 99 | 	void addName(int iLang, const Utils::WString& name);
 | 
          
            | 100 | 	void removeName(int iLang);
 | 100 | 	void removeName(int iLang);
 | 
          
            | 101 | 	void clearNames();
 | 101 | 	void clearNames();
 | 
          
            | 102 |  
 | 102 |  
 | 
          
            | 103 | 	// install texts
 | 103 | 	// install texts
 | 
          
            | 104 | 	Utils::String installText(int iLang, bool bBefore, bool bIncludeDefault = true) const;
 | 104 | 	Utils::String installText(int iLang, bool bBefore, bool bIncludeDefault = true) const;
 |