10 #ifndef lgrSystemInterface_H_
11 #define lgrSystemInterface_H_
23 class DtLgrSystemCommandFactory;
24 class DtLgrMessageOutputListener;
43 DtLgrSystemInterface(const DtLgrSystemInterface&);
45 DtLgrSystemInterface& operator=(const DtLgrSystemInterface&);
49 virtual
void issueTextCommand(const
DtString& commandString) const;
52 virtual
void cancelLongOperation() const;
55 virtual
void deleteFile(const
DtString& filename) const;
58 virtual
void setNotifyLevel(
int vlLevel,
int lgrLevel) const;
61 virtual
void shutdown() const;
64 virtual
bool timeToShutdown() const;
67 virtual const
DtString& operationName() const;
70 virtual const
DtString& operationMessage() const;
73 virtual
int operationProgress() const;
76 virtual
bool operationInterruptible() const;
79 virtual
bool wasOperationCanceled() const;
82 virtual
void installOutputListener(
105 bool basicGuiFlag() const;
109 void (DtLgrSystemInterface::* function)(
DtResponse));
111 void messageReceived(DtResponse);
112 void consoleMessageReceived(DtResponse);
113 void requestShutdown(DtResponse);
115 void basicGuiFlagSet(DtResponse);
117 void longOperationStarted(DtResponse);
118 void longOperationFinished(DtResponse);
119 void longOperationUpdated(DtResponse);
127 bool myOperationRunningFlag;
128 int myOperationProgress;
129 bool myOperationInterruptible;
130 bool myOperationCanceledFlag;
132 bool myTimeToShutdown;