Subversion Repositories spk

Rev

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

Rev 197 Rev 203
Line 94... Line 94...
94
	void SetPackageType(int i)
94
	void SetPackageType(int i)
95
	{
95
	{
96
		m_iPackageType = i;
96
		m_iPackageType = i;
97
		if ( i == PACKAGETYPE_UPDATE )
97
		if ( i == PACKAGETYPE_UPDATE )
98
		{
98
		{
99
			if ( !this->FindPackageNeeded("<package>", "<author>") )
99
			if ( !this->findPackageNeeded(L"<package>", L"<author>") )
100
				this->AddNeededLibrary("<package>", "<author>", "1.00");
100
				this->addNeededLibrary(L"<package>", L"<author>", "1.00");
101
		}
101
		}
102
		else
102
		else
103
			this->RemovePackageNeeded("<package>", "<author>");
103
			this->removePackageNeeded(L"<package>", L"<author>");
104
		_changed();
104
		_changed();
105
	}
105
	}
106
	void SetPatch() { this->SetPackageType(PACKAGETYPE_PATCH); }
106
	void SetPatch() { this->SetPackageType(PACKAGETYPE_PATCH); }
107
	void SetLibrary() { this->SetPackageType(PACKAGETYPE_LIBRARY); }
107
	void SetLibrary() { this->SetPackageType(PACKAGETYPE_LIBRARY); }
108
	void SetCustomStart() { this->SetPackageType(PACKAGETYPE_CUSTOMSTART); }
108
	void SetCustomStart() { this->SetPackageType(PACKAGETYPE_CUSTOMSTART); }