added: a new winix function: passwd

for changing your password
       or if you are a super user you can
       change a password for anyone
added: uname prints available plugins now



git-svn-id: svn://ttmath.org/publicrep/winix/trunk@748 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2011-06-27 21:38:19 +00:00
parent 06f42dd9cb
commit eaf10c70b7
32 changed files with 871 additions and 448 deletions

View File

@@ -2,7 +2,7 @@
* This file is a part of Winix
* and is not publicly distributed
*
* Copyright (c) 2008-2010, Tomasz Sowa
* Copyright (c) 2008-2011, Tomasz Sowa
* All rights reserved.
*
*/
@@ -124,6 +124,14 @@ public:
}
};
struct PluginsItem
{
void * handle;
const wchar_t * plugin_name; // plugin name (can be null if was not set by the plugin)
};
typedef std::vector<PluginsItem> Plugins;
Plugin();
~Plugin();
@@ -174,6 +182,9 @@ public:
void Assign(int message, Fun1);
void Assign(int message, Fun2);
// return a const pointer to the plugin tab
const Plugins * GetPlugins();
private:
Db * db;
@@ -190,13 +201,6 @@ private:
std::wstring temp_path;
struct PluginsItem
{
void * handle;
const wchar_t * plugin_name; // plugin name (can be null if was not set by the plugin)
};
typedef std::vector<PluginsItem> Plugins;
Plugins plugins;
typedef std::multimap<int, Slot> Slots;