mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 14:03:07 +01:00
Better organize code - thanks to Claudio
This commit is contained in:
parent
cd63621702
commit
6ec62baea0
@ -39,8 +39,6 @@ using namespace Firebird;
|
||||
namespace
|
||||
{
|
||||
|
||||
typedef void ProcessString(string& s);
|
||||
|
||||
void strToUtf8(string& s)
|
||||
{
|
||||
ISC_systemToUtf8(s);
|
||||
@ -52,7 +50,7 @@ void strFromUtf8(string& s)
|
||||
ISC_utf8ToSystem(s);
|
||||
}
|
||||
|
||||
void processCommandLine(string& par, ProcessString* processString)
|
||||
void processCommandLine(string& par, IntlParametersBlock::ProcessString* processString)
|
||||
{
|
||||
bool flagIn = false;
|
||||
string current, result;
|
||||
|
@ -39,6 +39,7 @@ class IntlParametersBlock
|
||||
{
|
||||
public:
|
||||
enum TagType { TAG_SKIP, TAG_STRING, TAG_COMMAND_LINE };
|
||||
typedef void ProcessString(string& s);
|
||||
|
||||
virtual TagType checkTag(UCHAR tag) = 0;
|
||||
|
||||
@ -46,7 +47,6 @@ public:
|
||||
void fromUtf8(ClumpletWriter& pb, UCHAR utf8Tag);
|
||||
|
||||
private:
|
||||
typedef void ProcessString(string& s);
|
||||
void processParametersBlock(ProcessString* processString, ClumpletWriter& pb);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user