Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
4e48722b63
commit
752d7d239a
209 changed files with 9698 additions and 7658 deletions
|
@ -12,32 +12,34 @@
|
|||
*
|
||||
* This software is provided 'as-is', without any express or implied
|
||||
* warranty.
|
||||
*
|
||||
* Unicode support by Jim Park -- 08/21/2007
|
||||
*/
|
||||
|
||||
#ifndef __X18_PLUGINS_H
|
||||
#define __X18_PLUGINS_H
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
#include "tstring.h"
|
||||
|
||||
class Plugins
|
||||
{
|
||||
public:
|
||||
void FindCommands(const std::string& path, bool displayInfo);
|
||||
bool IsPluginCommand(const std::string& command) const;
|
||||
std::string NormalizedCommand(const std::string& command) const;
|
||||
int GetPluginHandle(bool uninst, const std::string& command) const;
|
||||
std::string GetPluginPath(const std::string& command) const;
|
||||
void SetDllDataHandle(bool uninst, const std::string& command, int dataHandle);
|
||||
void FindCommands(const tstring& path, bool displayInfo);
|
||||
bool IsPluginCommand(const tstring& command) const;
|
||||
tstring NormalizedCommand(const tstring& command) const;
|
||||
int GetPluginHandle(bool uninst, const tstring& command) const;
|
||||
tstring GetPluginPath(const tstring& command) const;
|
||||
void SetDllDataHandle(bool uninst, const tstring& command, int dataHandle);
|
||||
|
||||
private: // methods
|
||||
void GetExports(const std::string &pathToDll, bool displayInfo);
|
||||
void GetExports(const tstring &pathToDll, bool displayInfo);
|
||||
|
||||
private: // data members
|
||||
std::map<std::string, std::string> m_command_lowercase_to_command;
|
||||
std::map<std::string, std::string> m_command_to_path;
|
||||
std::map<std::string, int> m_command_to_data_handle;
|
||||
std::map<std::string, int> m_command_to_uninstall_data_handle;
|
||||
std::map<tstring, tstring> m_command_lowercase_to_command;
|
||||
std::map<tstring, tstring> m_command_to_path;
|
||||
std::map<tstring, int> m_command_to_data_handle;
|
||||
std::map<tstring, int> m_command_to_uninstall_data_handle;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue