Line 43... |
Line 43... |
43 |
virtual ~CCorePackage(void);
|
43 |
virtual ~CCorePackage(void);
|
44 |
|
44 |
|
45 |
//getters
|
45 |
//getters
|
46 |
const Utils::String &name () const { return _sName; }
|
46 |
const Utils::String &name () const { return _sName; }
|
47 |
const Utils::String &version () const { return _sVersion; }
|
47 |
const Utils::String &version () const { return _sVersion; }
|
48 |
const Utils::String &suthor () const { return _sAuthor; }
|
48 |
const Utils::String &author () const { return _sAuthor; }
|
49 |
const Utils::String &webSite () const { return _sWebSite; }
|
49 |
const Utils::String &webSite () const { return _sWebSite; }
|
50 |
const Utils::String &webAddress () const { return _sWebAddress; }
|
50 |
const Utils::String &webAddress () const { return _sWebAddress; }
|
51 |
const Utils::String &email () const { return _sEmail; }
|
51 |
const Utils::String &email () const { return _sEmail; }
|
52 |
const Utils::String &creationDate () const { return _sCreationDate; }
|
52 |
const Utils::String &creationDate () const { return _sCreationDate; }
|
53 |
const Utils::String &description () const { return _sDescription; }
|
53 |
const Utils::String &description () const { return _sDescription; }
|
Line 58... |
Line 58... |
58 |
const Utils::String &filename () const { return _sFilename; }
|
58 |
const Utils::String &filename () const { return _sFilename; }
|
59 |
const Utils::String &exportFilename () const { return _sExportFilename; }
|
59 |
const Utils::String &exportFilename () const { return _sExportFilename; }
|
60 |
const CInstallText *installText () const { return _pInstallText; }
|
60 |
const CInstallText *installText () const { return _pInstallText; }
|
61 |
const CInstallText *uninstallText () const { return _pUninstallText; }
|
61 |
const CInstallText *uninstallText () const { return _pUninstallText; }
|
62 |
int pluginType () const { return _iPluginType; }
|
62 |
int pluginType () const { return _iPluginType; }
|
- |
|
63 |
bool hasChanged () const { return _bChanged; }
|
63 |
|
64 |
|
64 |
//setters
|
65 |
//setters
|
65 |
void setName ( const Utils::String &str ) { _changed(); _sName = str.remove ( '|' ); }
|
66 |
void setName ( const Utils::String &str ) { _changed(); _sName = str.remove ( '|' ); }
|
66 |
void setVersion ( const Utils::String &str ) { _changed(); _sVersion = str; }
|
67 |
void setVersion ( const Utils::String &str ) { _changed(); _sVersion = str; }
|
67 |
void setAuthor ( const Utils::String &str ) { _changed(); _sAuthor = str.remove ( '|' ); }
|
68 |
void setAuthor ( const Utils::String &str ) { _changed(); _sAuthor = str.remove ( '|' ); }
|
Line 69... |
Line 70... |
69 |
void setWebSite ( const Utils::String &str ) { _changed(); _sWebSite = str; }
|
70 |
void setWebSite ( const Utils::String &str ) { _changed(); _sWebSite = str; }
|
70 |
void setEmail ( const Utils::String &str ) { _changed(); _sEmail = str; }
|
71 |
void setEmail ( const Utils::String &str ) { _changed(); _sEmail = str; }
|
71 |
void setCreationDate ( const Utils::String &str ) { _changed(); _sCreationDate = str; }
|
72 |
void setCreationDate ( const Utils::String &str ) { _changed(); _sCreationDate = str; }
|
72 |
void setDescription ( const Utils::String &str ) { _changed(); _parseDescription(str); }
|
73 |
void setDescription ( const Utils::String &str ) { _changed(); _parseDescription(str); }
|
73 |
void setFilename ( const Utils::String &str ) { _sFilename = str; }
|
74 |
void setFilename ( const Utils::String &str ) { _sFilename = str; }
|
- |
|
75 |
void setExportFilename ( const Utils::String &str ) { _sExportFilename = str; }
|
74 |
void setForumLink ( const Utils::String &str ) { _changed(); _sForumLink = str; }
|
76 |
void setForumLink ( const Utils::String &str ) { _changed(); _sForumLink = str; }
|
75 |
void setRecommended ( int i ) { _changed(); _iRecommended = i; }
|
77 |
void setRecommended ( int i ) { _changed(); _iRecommended = i; }
|
76 |
void setGameChanging ( int i ) { _changed(); _iGameChanging = i; }
|
78 |
void setGameChanging ( int i ) { _changed(); _iGameChanging = i; }
|
77 |
void setEaseOfUse ( int i ) { _changed(); _iEaseOfUse = i; }
|
79 |
void setEaseOfUse ( int i ) { _changed(); _iEaseOfUse = i; }
|
78 |
void setPluginType ( int i ) { _changed(); _iPluginType = i; }
|
80 |
void setPluginType ( int i ) { _changed(); _iPluginType = i; }
|
- |
|
81 |
void adjustChanged ( bool bChanged ) { _bChanged = bChanged; }
|
79 |
|
82 |
|
80 |
// install texts
|
83 |
// install texts
|
81 |
Utils::String installText(int iLang, bool bBefore, bool bIncludeDefault = true) const;
|
84 |
Utils::String installText(int iLang, bool bBefore, bool bIncludeDefault = true) const;
|
82 |
Utils::String uninstallText(int iLang, bool bBefore, bool bIncludeDefault = true) const;
|
85 |
Utils::String uninstallText(int iLang, bool bBefore, bool bIncludeDefault = true) const;
|
83 |
void addInstallText(int iLang, bool bBefore, const Utils::String &sText);
|
86 |
void addInstallText(int iLang, bool bBefore, const Utils::String &sText);
|