Map tips
SharedInclude.h
// Copyright 2010 ESRI
// 
// All rights reserved under the copyright laws of the United States
// and applicable international laws, treaties, and conventions.
// 
// You may freely redistribute and use this sample code, with or
// without modification, provided you include the original copyright
// notice and use restrictions.
// 
// See the use restrictions.
// 

 
#ifndef __SHARED_INCLUDE_MOTIF_H
#define __SHARED_INCLUDE_MOTIF_H

/* C/C++ Headers */

#include <iostream>
#include <cwchar>

/* Motif Headers */

#define String         esriXString
#define Time           esriXTime
#define Cursor         esriXCursor
#define Object         esriXObject
#define ObjectClass    esriXObjectClass
#include <Xm/Xm.h>
#include <Xm/MainW.h>
#include <Xm/Form.h>
#include <Xm/Protocols.h>
#include <Xm/PushB.h>
#include <Xm/FileSB.h>
#include <Xm/Text.h>
#include <Xm/TextF.h>
#include <Xm/ComboBox.h>
#include <Xm/Label.h>
#undef String
#undef Time
#undef Cursor
#undef Object
#undef ObjectClass

/* ArcObjects Headers */

// Engine
#include <ArcSDK.h>
// Controls
#include <Ao/Map.h>
#include <Ao/TOC.h>
#include <Ao/Toolbar.h>
#include <Ao/AoCommandBase.h>
#include <Ao/AoToolBase.h>

#endif // __SHARED_INCLUDE_MOTIF_H