Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages   Examples  

hyp.ker.interfaces.h

00001 /*
00002 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00003  Hyperion Pattern.
00004  Hyperion Pattern is a part of the Hyperion Project.
00005 ----------------------------------------------------------
00006  Copyright (c) 2001 Pierre Rebours.
00007 
00008  This library is free software; you can redistribute it and/or
00009  modify it under the terms of the GNU Lesser General Public
00010  License as published by the Free Software Foundation; either
00011  version 2.1 of the License, or (at your option) any later version.
00012 
00013  This library is distributed in the hope that it will be useful,
00014  but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00016  
00017  See hyp.license.txt file for more information about the license.
00018  
00019  Web: http://lagrandeporte.multimania.com/hyperion
00020  Email: pierre_rebours@yahoo.com
00021 ----------------------------------------------------------
00022  CVS
00023  $Log$
00024 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
00025 */
00026 
00027 
00028 #ifndef _hyp_ker_interfaces_h_
00029 #define _hyp_ker_interfaces_h_
00030 
00031 
00032 #ifndef hyp_KERNEL_INSIDE
00033 #error Inclusion not allowed (include hyp.kernel.h instead)
00034 #endif
00035 
00036 
00037 //-------------------------------------------------------------------------
00038 //{04FE4A80-B650-11d4-A083-0080AD97951B}
00039 hyp_DEFINE_GUID(IID_hypIUnknown, 
00040 0x4fe4a80, 0xb650, 0x11d4, 0xa0, 0x83, 0x0, 0x80, 0xad, 0x97, 0x95, 0x1b);
00041 
00046 struct IUnknown
00047 {
00048         virtual com_result QueryInterface(const hypIID&,void**) =0;
00049         virtual t_ulong AddRef() =0;
00050         virtual t_ulong Release() =0;
00051 };
00052 //-------------------------------------------------------------------------
00053 // {04FE4A81-B650-11d4-A083-0080AD97951B}
00054 hyp_DEFINE_IID(IID_hypIClassFactory, 
00055 0x4fe4a81, 0xb650, 0x11d4, 0xa0, 0x83, 0x0, 0x80, 0xad, 0x97, 0x95, 0x1b);
00056 
00061 struct IClassFactory :
00062 public IUnknown
00063 {
00064         virtual com_result CreateInstance(IUnknown*,const hypIID&,void**) =0;
00065         virtual com_result LockServer(bool) =0;
00066 };
00067 //-------------------------------------------------------------------------
00068 
00069 
00070 #endif

Top of Page
written by Pierre Rebours © 2000-2001. Terms of Use.