Subversion Repositories spk

Rev

Rev 127 | Rev 134 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 127 Rev 133
Line 60... Line 60...
60
 
60
 
61
	// get functions
61
	// get functions
62
	Utils::String GetScriptTypeString(int lang) const;
62
	Utils::String GetScriptTypeString(int lang) const;
63
	Utils::String GetCustomScriptType () const { return m_sScriptType; }
63
	Utils::String GetCustomScriptType () const { return m_sScriptType; }
64
	Utils::String GetCustomScriptType (int lang) const;
64
	Utils::String GetCustomScriptType (int lang) const;
-
 
65
	Utils::String otherName() const { return m_sOtherName; }
-
 
66
	Utils::String otherAuthor()	const { return m_sOtherAuthor; }
65
	Utils::String GetOtherName () const	{ return m_sOtherName; }
67
	Utils::String GetOtherName() const { return m_sOtherName; }
66
	Utils::String GetOtherAuthor ()	const { return m_sOtherAuthor; }
68
	Utils::String GetOtherAuthor()	const { return m_sOtherAuthor; }
67
	CLinkList<SWares> *GetWaresList() { return &m_lWares; }
69
	CLinkList<SWares> *GetWaresList() { return &m_lWares; }
68
	CLinkList<SSettingType> *GetSettingsList() { return &m_lSettings; }
70
	CLinkList<SSettingType> *GetSettingsList() { return &m_lSettings; }
69
 
71
 
70
	bool CheckValidReadmes () const;
72
	bool CheckValidReadmes () const;
71
 
73
 
72
	bool   IsCustomStart () const	{ return (m_iPackageType == PACKAGETYPE_CUSTOMSTART) ? true : false;  }
74
	bool   IsCustomStart () const	{ return (m_iPackageType == PACKAGETYPE_CUSTOMSTART) ? true : false;  }
73
	bool   IsPackageUpdate () const { return (m_iPackageType == PACKAGETYPE_UPDATE) ? true : false; }
75
	bool   IsPackageUpdate () const { return (m_iPackageType == PACKAGETYPE_UPDATE) ? true : false; }
74
	bool   IsPatch () const			{ return (m_iPackageType == PACKAGETYPE_PATCH) ? true: false; }
76
	bool   IsPatch () const			{ return (m_iPackageType == PACKAGETYPE_PATCH) ? true: false; }
75
	bool   IsLibrary ()	const		{ return (m_iPackageType == PACKAGETYPE_LIBRARY) ? true: false; }
77
	bool   IsLibrary ()	const		{ return (m_iPackageType == PACKAGETYPE_LIBRARY) ? true: false; }
76
	bool   IsAnotherMod() const		{ if ( (m_sOtherName.empty()) || (m_sOtherAuthor.empty()) ) return false; return true; }
78
	bool   IsAnotherMod() const { if ((m_sOtherName.empty()) || (m_sOtherAuthor.empty())) return false; return true; }
-
 
79
	bool   isAnotherMod() const { if ((m_sOtherName.empty()) || (m_sOtherAuthor.empty())) return false; return true; }
77
	bool   IsForceProfile() const	{ return m_bForceProfile; }
80
	bool   IsForceProfile() const	{ return m_bForceProfile; }
78
	int		GetScriptType() const	{ return m_iScriptType; }
81
	int		GetScriptType() const	{ return m_iScriptType; }
79
	int		GetPackageType() const	{ return m_iPackageType; }
82
	int		GetPackageType() const	{ return m_iPackageType; }
80
 
83
 
81
	virtual bool readWares(int iLang, CLinkList<SWareEntry> &list, const Utils::String &empWares);
84
	virtual bool readWares(int iLang, CLinkList<SWareEntry> &list, const Utils::String &empWares);