object/i/icallback.h Source File
Main Page
Topics
Modules
Namespaces
Classes
Files
Examples
File List
File Members
icallback.h
Go to the documentation of this file.
1
#ifndef _ICallback_H_
2
#define _ICallback_H_
3
/**************************************************************************
4
Copyright (c) 1994 - 2009 Autodesk, Inc. and/or its licensors.
5
All Rights Reserved.
6
7
The coded instructions, statements, computer programs, and/or related
8
material (collectively the "Data") in these files contain unpublished
9
information proprietary to Autodesk, Inc. and/or its licensors, which is
10
protected by Canada and United States of America federal copyright law
11
and by international treaties.
12
13
The Data may not be disclosed or distributed to third parties, in whole
14
or in part, without the prior written consent of Autodesk, Inc.
15
("Autodesk").
16
17
THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
18
ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
19
WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR
20
ARISING BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES
21
OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
22
PURPOSE OR USE. WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT
23
WARRANT THAT THE OPERATION OF THE DATA WILL BE UNINTERRUPTED OR ERROR
24
FREE.
25
26
IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
27
OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR
28
EXPENSES OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE
29
DAMAGES OR OTHER SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS
30
OF PROFITS, REVENUE OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR
31
DAMAGES OF ANY KIND), HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF
32
LIABILITY, WHETHER DERIVED FROM CONTRACT, TORT (INCLUDING, BUT NOT
33
LIMITED TO, NEGLIGENCE), OR OTHERWISE, ARISING OUT OF OR RELATING TO THE
34
DATA OR ITS USE OR ANY OTHER PERFORMANCE, WHETHER OR NOT AUTODESK HAS
35
BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE.
36
37
**************************************************************************/
38
39
#include <
object/i/iobject.h
>
40
42
#define ICallback_Declare(IsPure)
43
44
K_INTERFACE
(
ICallback
,2 );
// when derive class from ICallback, ICallback need to be put as the first base class.
45
47
K_FORWARD
( IRegister );
48
K_FORWARD
( KEventBase );
49
50
typedef
void (
ICallback
::*
kICallbackHandler
)(
HIRegister
pCaller,
HKEventBase
pEvent);
51
52
#endif
53
K_INTERFACE
#define K_INTERFACE(Name, Id)
Definition:
iobject.h:98
K_FORWARD
K_FORWARD(KStringList)
iobject.h
ICallback
Definition:
icallback.h:44
HKEventBase
KEventBase * HKEventBase
Definition:
fbcomponent.h:75
HIRegister
IRegister * HIRegister
Definition:
fbcomponent.h:71
kICallbackHandler
void(ICallback::* kICallbackHandler)(HIRegister pCaller, HKEventBase pEvent)
Definition:
icallback.h:50