89 lines
2.6 KiB
C++
89 lines
2.6 KiB
C++
|
|
//////////////////////////////////////////////////////////////
|
|
//
|
|
// Header file for Restart
|
|
//
|
|
// This file is generated by RapidApp 1.2
|
|
//
|
|
// This class is derived from RestartUI which
|
|
// implements the user interface created in
|
|
// RapidApp. This class contains virtual
|
|
// functions that are called from the user interface.
|
|
//
|
|
// When you modify this header file, limit your changes to those
|
|
// areas between the "//---- Start/End editable code block" markers
|
|
//
|
|
// This will allow RapidApp to integrate changes more easily
|
|
//
|
|
// This class is a ViewKit user interface "component".
|
|
// For more information on how components are used, see the
|
|
// "ViewKit Programmers' Manual", and the RapidApp
|
|
// User's Guide.
|
|
//////////////////////////////////////////////////////////////
|
|
#ifndef RESTART_H
|
|
#define RESTART_H
|
|
#include "Cview.h"
|
|
#include "RestartUI.h"
|
|
#include <ckpt.h>
|
|
//---- Start editable code block: headers and declarations
|
|
|
|
//---- End editable code block: headers and declarations
|
|
|
|
//---- Restart class declaration
|
|
|
|
class Restart : public RestartUI
|
|
{
|
|
public:
|
|
|
|
Restart ( const char *, Widget );
|
|
Restart ( const char * );
|
|
~Restart();
|
|
const char * className();
|
|
|
|
static VkComponent *CreateRestart( const char *name, Widget parent );
|
|
|
|
//---- Start editable code block: Restart public
|
|
|
|
//---- End editable code block: Restart public
|
|
|
|
protected:
|
|
|
|
// These functions will be called as a result of callbacks
|
|
// registered in RestartUI
|
|
|
|
virtual void cv_ls ( Widget, XtPointer );
|
|
virtual void cv_statef ( Widget, XtPointer );
|
|
virtual void cv_statef_change ( Widget, XtPointer );
|
|
virtual void doAnypid ( Widget, XtPointer );
|
|
virtual void doBut_restart ( Widget, XtPointer );
|
|
virtual void doInfo ( Widget, XtPointer );
|
|
virtual void doOrigpid ( Widget, XtPointer );
|
|
virtual void doRemove ( Widget, XtPointer );
|
|
virtual void ls_select_one ( Widget, XtPointer );
|
|
virtual void setTog_cdir ( Widget, XtPointer );
|
|
virtual void setTog_rdir ( Widget, XtPointer );
|
|
|
|
//---- Start editable code block: Restart protected
|
|
int RestFlags;
|
|
#define CKPT_RESTART_NEW_CWD 0x1
|
|
#define CKPT_RESTART_NEW_ROOT 0x2
|
|
#define CKPT_RESTART_ANY_PID 0x4
|
|
|
|
char * RestCwd;
|
|
char RestPath[CPATHLEN];
|
|
|
|
//---- End editable code block: Restart protected
|
|
|
|
private:
|
|
|
|
static void* RegisterRestartInterface();
|
|
|
|
//---- Start editable code block: Restart private
|
|
|
|
//---- End editable code block: Restart private
|
|
};
|
|
//---- Start editable code block: End of generated code
|
|
|
|
//---- End editable code block: End of generated code
|
|
#endif
|