changed: mount points
mount type and mount fs are of type 'int' now they can be added by plugins git-svn-id: svn://ttmath.org/publicrep/winix/trunk@652 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -15,9 +15,16 @@
|
||||
|
||||
|
||||
|
||||
|
||||
namespace TemplatesNotifyFunctions
|
||||
{
|
||||
|
||||
// id of mount points types
|
||||
int mount_type_cms;
|
||||
int mount_type_thread;
|
||||
int mount_type_ticket;
|
||||
|
||||
|
||||
Patterns patterns;
|
||||
Ezc::Functions ezc_functions;
|
||||
Locale locale;
|
||||
@@ -40,13 +47,21 @@ void TemplatesNotify::SetConfig(Config * pconfig)
|
||||
TemplatesNotifyFunctions::config = pconfig;
|
||||
}
|
||||
|
||||
void TemplatesNotify::SetMountTypes(int mcms, int mthread, int mticket)
|
||||
{
|
||||
using namespace TemplatesNotifyFunctions;
|
||||
|
||||
mount_type_cms = mcms;
|
||||
mount_type_thread = mthread;
|
||||
mount_type_ticket = mticket;
|
||||
}
|
||||
|
||||
|
||||
|
||||
void TemplatesNotify::CreateFunctions()
|
||||
{
|
||||
using namespace TemplatesNotifyFunctions;
|
||||
|
||||
|
||||
ezc_functions.Clear();
|
||||
|
||||
ezc_functions.Insert("notify_item_added", notify_item_added);
|
||||
|
Reference in New Issue
Block a user