Class Hierarchy   Class Index   Method Index  

IGCdisconnectReason.h

00001 #ifndef __IGC_DISCONNECT_REASON_H__
00002 #define __IGC_DISCONNECT_REASON_H__
00003 //--------------------------------------------------------------------------
00004 // Copyright (C) 1997-2009 iNTERFACEWARE Inc. All Rights Reserved.
00005 //
00006 // Class: IGCdisconnectReason
00007 //
00008 // Description:
00009 //
00010 // Class interface definition.
00011 //
00012 // This file is automatically generated.
00013 // DO NOT EDIT.
00014 //
00015 // Author: codegen2
00016 // Date:   Thursday, May 28th, 2009 @ 10:15:00 AM
00017 // Revision: $Revision: 1.5 $
00018 //
00019 // Last Edit Date: $Date: 2009-08-12 15:48:37 $
00020 // Source: $Source: /home/cvs/cvsroot/IGC/IGCdisconnectReason.h,v $
00021 //--------------------------------------------------------------------------
00022 
00023 #include <IGC/IGCminimumInclude.h>
00024 
00025 #ifndef __IGC_DISCONNECT_REASON_HANDLE_H__
00026 #define __IGC_DISCONNECT_REASON_HANDLE_H__
00027 typedef void* IGCdisconnectReasonHandle;
00028 #endif
00029 
00030 
00052 class IGCdisconnectReason
00053 {
00054 public:
00056    IGCdisconnectReason();
00057    IGCdisconnectReason(const IGCdisconnectReason& Orig);
00058    IGCdisconnectReason(IGCdisconnectReasonHandle Handle);
00059    
00061    virtual ~IGCdisconnectReason();
00062    
00064    IGCdisconnectReason& operator=(const IGCdisconnectReason& Orig);
00065    
00067    IGCdisconnectReasonHandle GetHandle() const { return Handle; }
00068    
00069    
00076    IGCboolean DueToIguana() const;
00077    
00078    
00086    IGCboolean DueToPlugin() const;
00087    
00088    
00097    IGCboolean DueToError() const;
00098    
00099    
00104    const char* Description() const;
00105    
00106    
00107 private:
00108    IGCdisconnectReasonHandle Handle;
00109 };
00110 
00111 #endif // end of defensive include