home *** CD-ROM | disk | FTP | other *** search
- //////////////////////////////////////////////////////////////
- //
- // Header file for Control
- //
- // This file is generated by BuildXcessory. DO NOT MODIFY.
- // USE SUBCLASSING INSTEAD
- //
- // This class is a user interface "component", as described
- // in "Object-Oriented Programming with C++ and OSF/Motif",
- // by Douglas Young, Prentice Hall, 1992. ISBN 0-13-630252-1
- //
- // If you directly modify this file, you may lose your
- // changes if it is regenerated by the builder again.
- //
- //////////////////////////////////////////////////////////////
- #ifndef CONTROL_H
- #define CONTROL_H
- #include <Vk/VkComponent.h>
-
- class Control : public VkComponent
- {
-
- public:
-
- Control(const char *, Widget);
- ~Control();
- const char * className();
-
- protected:
-
- // Classes created by this class
-
-
- // Widgets created by this class
-
- Widget _control;
- Widget _startButton;
- Widget _stopButton;
-
-
- // These virtual functions are called from the private callbacks (above)
- // Intended to be overriden in derived classes to define actions
-
- virtual void start ( Widget, XtPointer );
- virtual void stop ( Widget, XtPointer );
-
- private:
-
- // Array of default resources
-
- static String _defaultControlResources[];
-
- // Callbacks to interface with Motif
-
- static void startCallback (Widget, XtPointer, XtPointer);
- static void stopCallback (Widget, XtPointer, XtPointer);
-
- };
- #endif
-
-