2009-01-31 07:53:36 +01:00
|
|
|
/*
|
2010-02-28 01:08:10 +01:00
|
|
|
* This file is a part of Winix
|
2009-01-31 07:53:36 +01:00
|
|
|
* and is not publicly distributed
|
|
|
|
*
|
2010-02-28 22:33:06 +01:00
|
|
|
* Copyright (c) 2008-2010, Tomasz Sowa
|
2009-01-31 07:53:36 +01:00
|
|
|
* All rights reserved.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2009-11-13 21:40:11 +01:00
|
|
|
|
|
|
|
#ifndef headerfilecmslupluginmsg
|
|
|
|
#define headerfilecmslupluginmsg
|
|
|
|
|
2010-07-27 22:41:56 +02:00
|
|
|
// here you can add your own EZC functions ([function])
|
|
|
|
// PluginInfo.p1 is a pointer to Ezc::Functions object
|
2010-02-11 21:56:52 +01:00
|
|
|
#define WINIX_TEMPLATES_CREATEFUNCTIONS 999
|
2010-07-27 22:41:56 +02:00
|
|
|
|
2009-11-13 21:40:11 +01:00
|
|
|
|
2010-02-11 21:56:52 +01:00
|
|
|
#define WINIX_CONTENT_MAKE 2000
|
2009-11-13 21:40:11 +01:00
|
|
|
|
|
|
|
|
2010-05-04 23:58:22 +02:00
|
|
|
// here you can attach your own session data (based on PluginDataBase class)
|
|
|
|
// call request.session->plugin_data.Assign(pointer)
|
|
|
|
#define WINIX_SESSION_CREATED 3000
|
|
|
|
|
|
|
|
// here you should remove your session data
|
|
|
|
#define WINIX_SESSION_REMOVE 3001
|
|
|
|
|
|
|
|
// when a session is changed (you can save a pointer to your data here)
|
|
|
|
#define WINIX_SESSION_CHANGED 3002
|
2009-11-13 21:40:11 +01:00
|
|
|
|
2010-07-27 22:41:56 +02:00
|
|
|
// the winix is closing
|
|
|
|
#define WINIX_CLOSE 3004
|
2009-11-13 21:40:11 +01:00
|
|
|
|
2010-07-27 22:41:56 +02:00
|
|
|
// item was removed (rm function)
|
|
|
|
// PluginInfo::l1 is the file (item) id
|
|
|
|
#define WINIX_FILE_REMOVED 3005
|
2009-11-13 21:40:11 +01:00
|
|
|
|
2010-07-27 22:41:56 +02:00
|
|
|
// directory was removed (rm function)
|
|
|
|
// PluginInfo::l1 is the dir id
|
|
|
|
#define WINIX_DIR_REMOVED 3006
|
2009-11-13 21:40:11 +01:00
|
|
|
|
2010-07-27 22:41:56 +02:00
|
|
|
// preparing to remove a directory (rm function)
|
|
|
|
// PluginInfo::l1 is the dir id
|
|
|
|
#define WINIX_DIR_PREPARE_TO_REMOVE 3007
|
2009-11-13 21:40:11 +01:00
|
|
|
|
2010-08-14 18:23:18 +02:00
|
|
|
// winix is initialized,
|
|
|
|
// now you can initialize your plugin
|
|
|
|
#define WINIX_PLUGIN_INIT 3008
|
|
|
|
|
2010-09-13 01:33:27 +02:00
|
|
|
// here you can add your own mount point, file systems, mount parameters
|
|
|
|
// for adding a new mount type call: system->mounts.AddMountType("new_mount_name")
|
|
|
|
#define WINIX_ADD_MOUNTS 3009
|
2009-01-26 21:49:28 +01:00
|
|
|
|
2010-09-29 23:24:34 +02:00
|
|
|
// add plugin functions here
|
|
|
|
#define WINIX_CREATE_FUNCTIONS 3010
|
|
|
|
|
|
|
|
// choose a default function
|
|
|
|
// if you do not select it then it will be choosen by winix
|
|
|
|
#define WINIX_SELECT_DEFAULT_FUNCTION 3011
|
|
|
|
|
2009-01-26 21:49:28 +01:00
|
|
|
|
|
|
|
#endif
|