Line 14... |
Line 14... |
14 |
class CInstallText;
|
14 |
class CInstallText;
|
15 |
|
15 |
|
16 |
class SPKEXPORT CCorePackage
|
16 |
class SPKEXPORT CCorePackage
|
17 |
{
|
17 |
{
|
18 |
private:
|
18 |
private:
|
19 |
Utils::String _sName;
|
19 |
Utils::WString _sName;
|
20 |
Utils::String _sVersion;
|
20 |
Utils::String _sVersion;
|
21 |
Utils::String _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::String _sCreationDate;
|
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::String &name () const { return _sName; }
|
53 |
const Utils::WString &name () const { return _sName; }
|
54 |
const Utils::String &version () const { return _sVersion; }
|
54 |
const Utils::String &version () const { return _sVersion; }
|
55 |
const Utils::String &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::String &creationDate () const { return _sCreationDate; }
|
60 |
const Utils::String &description () const { return _sDescription; }
|
60 |
const Utils::String &description () const { return _sDescription; }
|
Line 66... |
Line 66... |
66 |
const Utils::String &exportFilename () const { return _sExportFilename; }
|
66 |
const Utils::String &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::String &name (int lange) 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::String &str ) { _changed(); _sName = str.remove ( '|' ); }
|
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::String &str ) { _changed(); _sVersion = str; }
|
79 |
void setAuthor ( const Utils::String &str ) { _changed(); _sAuthor = str.remove ( '|' ); }
|
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::String &str ) { _changed(); _sCreationDate = str; }
|
84 |
void setDescription ( const Utils::String &str ) { _changed(); _parseDescription(str); }
|
84 |
void setDescription ( const Utils::String &str ) { _changed(); _parseDescription(str); }
|