MaxNet.h

Go to the documentation of this file.
00001 //**************************************************************************/
00002 // Copyright (c) 1998-2008 Autodesk, Inc.
00003 // All rights reserved.
00004 // 
00005 // These coded instructions, statements, and computer programs contain
00006 // unpublished proprietary information written by Autodesk, Inc., and are
00007 // protected by Federal copyright law. They may not be disclosed to third
00008 // parties or copied or duplicated in any form, in whole or in part, without
00009 // the prior written consent of Autodesk, Inc.
00010 //**************************************************************************/
00011 #pragma once
00012 
00013 #include <WTypes.h>
00014 #include "MaxNetExport.h"
00015 #include "..\maxnet_types.h"
00016 #include "..\maxheap.h"
00017 #include "..\strbasic.h"
00018 
00024 class MAXNETEXPORT MaxNet : public MaxHeapOperators
00025 {
00026     protected:
00027         int gerror;
00028         maxnet_error_t  error;
00029         maxnet_error_t  TranslateError  (int err);
00030     public:
00032                         MaxNet          ();
00035         maxnet_error_t  GetError        ();
00038         int             GetGError       ();
00041         const MCHAR*    GetErrorText    ();
00042 };