summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Ivy/IvyCallback.h34
1 files changed, 3 insertions, 31 deletions
diff --git a/Ivy/IvyCallback.h b/Ivy/IvyCallback.h
index 58eb52e..6a877e6 100644
--- a/Ivy/IvyCallback.h
+++ b/Ivy/IvyCallback.h
@@ -2,40 +2,14 @@
// : Interface for the IvyDirectMessageCallback Class
// : Interface for the IvyApplicationCallback Class
//
-/////////////////////////////////////////////////////////////////////////////
-// Description :
-//
-/////////////////////////////////////////////////////////////////////////////
-//
-// $Header: /libIvy/IvyCallback.h 5 16/03/99 10:59 Fcolin $
-// $Modtime: 16/03/99 10:26 $
-
-/* --------------------------------------------------------
- * $History: IvyCallback.h $
- *
- * ***************** Version 5 *****************
- * User: Fcolin Date: 16/03/99 Time: 10:59
- * Updated in $/libIvy
- *
- * ***************** Version 4 *****************
- * User: Fcolin Date: 12/03/99 Time: 18:53
- * Updated in $/libIvy
- *
- * ***************** Version 3 *****************
- * User: Fcolin Date: 12/03/99 Time: 18:16
- * Updated in $/libIvy
- * Modif Api Callback
- * --------------------------------------------------------
- */
-#ifndef IvyCallback_H_
-#define IvyCallback_H_
+#pragma once
class IvyApplication;
/* Callback for the normal bus Message */
-/* Callback for the normal bus Message */
+
class IvyMessageCallback {
public:
virtual void OnMessage (IvyApplication *app, int argc, const char **argv )=0;
@@ -112,10 +86,8 @@ public:
/* Callback for the die Message */
class IvyDieCallback {
public:
- virtual BOOL OnDie (IvyApplication *app, int id, const char *arg ) = 0;
+ virtual bool OnDie (IvyApplication *app, int id, const char *arg ) = 0;
virtual ~IvyDieCallback()
{
}
};
-
-#endif /* IvyCallback_H_ */