9 #ifndef lgrEditorCommandFactory_H_
10 #define lgrEditorCommandFactory_H_
23 class DtCommandDefinition;
24 class DtLgrEditorThread;
25 class DtLgrPacketPrinter;
41 (
const DtString& fileFormat,
const DtString& filename,
42 bool checkpoint,
bool openAfterExport
44 (
const DtCommand& command,DtString& fileFormat, DtString& filename,
45 bool& checkpoint,
bool& openAfterExport
49 (const DtString& fileFormat, const DtString& filename,
51 const
DtRelativeTime& offset,
bool checkpoint,
bool openAfterExport
53 (const
DtCommand& command,DtString& fileFormat, DtString& filename,
55 bool& checkpoint,
bool& openAfterExport
62 DT_FACTORY_COMMAND_EXT(4,CutSection,
66 DT_FACTORY_COMMAND_EXT(5,AddExportType,
67 (const DtString& fileFormat,const DtString& fileFilter,
68 bool offsetData,
bool generateData,
int exportType,
70 (const
DtCommand& command,DtString& fileFormat,DtString& fileFilter,
71 bool& offsetData,
bool& generateData,
int& exportType,
74 DT_FACTORY_COMMAND_EXT(6,MergeInFile,
78 DT_FACTORY_COMMAND_EXT(7,AppendFileToEnd,
79 (const DtString& filename),
80 (const
DtCommand& command, DtString& filename))
82 DT_FACTORY_COMMAND_EXT(8,PrefixFileToStart,
83 (const DtString& filename),
84 (const
DtCommand& command, DtString& filename))
86 DT_FACTORY_COMMAND_EXT(9,TrimStart,
90 DT_FACTORY_COMMAND_EXT(10,OffsetTime,
94 DT_FACTORY_COMMAND_EXT(11,ConvertFile,
98 DT_FACTORY_COMMAND_EXT(12,FinishEditorThread,
105 (const DtString& fileFormat, const DtString& fileFilter,
106 bool offsetData,
bool generateData,
int exportType),
107 (
DtResponse response, DtString& fileFormat,DtString& fileFilter,
108 bool& offsetData,
bool& generateData,
int& exportType))
110 DT_FACTORY_RESPONSE_EXT(-2,FileDataMoved,
116 DT_FACTORY_RESPONSE_EXT(-3,FileDataDeleted,
120 DT_FACTORY_RESPONSE_EXT(-4,FileDataAdded,
122 const DtString& source),
126 DT_FACTORY_RESPONSE_EXT(-5,ExportCompleted,
127 (const DtString& fileFormat, const DtString& filename,
bool completed),
128 (DtResponse, DtString& fileFormat, DtString& filename,
bool& completed))
131 static const
char* commandToString(
int commandId);
134 static const
char* responseToString(
int responseId);