/*
    File:          $filename:toupper$.H

    Description:   Implementation of $partname$

    Written by:    $author$

    Copyright:     (c) $years$ by $company$
                   - all rights reserved

    Generated by:  $toolname$ $toolversion$
*/

#ifndef _$filename:toupper$_
#define _$filename:toupper$_

// ----------------------------------------------------------
// NLS Message constants used in $partname$ --> InstallMenus
//
//   The SP_MSG_SET and SPMSG_* messages must conform to what
//   is shown in the XPG/4 Message catalog file $filename$.MSG
// ----------------------------------------------------------

#include <locale.h>
#include <wchar.h>

#define $filename:toupper$_MSG_CATALOG  "$filename$.cat"  // Messages are stored in IODSIMPL.MSG

// Default messages
#define $filename:toupper$_DEFMSG_HELPMENU       "$displaynamenq$ Part help"
#define $filename:toupper$_DEFMSG_INFOMENU       "$displaynamenq$ Part information"
#define $filename:toupper$_DEFMSG_INFOTITLE      "$displaynamenq$ Part Information"
#define $filename:toupper$_DEFMSG_INFO           "$displaynamenq$ Part version 1.0\n\
Copyright of $company$ $years$. \n\
All rights reserved."

// Menu Item IDs
#define k$partname$MenuSeparator                 MENUID_ACTIVEPART_USER
#define k$partname$HelpMenu                     (MENUID_ACTIVEPART_USER + 1)
#define k$partname$InfoMenu                     (MENUID_ACTIVEPART_USER + 2)

// Help related constants
#define $filename:toupper$_HELP_FILE     "$filename$.hlp"  // $partname$ help file
#define $filename:toupper$_HELP_PANEL    100

#ifdef _PLATFORM_OS2_
#include <ODos2.h>
#endif

#include "ODTypes.h"       // for ODBoolean, ODRect, Rect

#ifdef _PLATFORM_OS2_
typedef HPS     HDraw;
typedef HBITMAP HIconView;
typedef HBITMAP HThumbView;
typedef HMODULE HResModule;

#elif defined(_PLATFORM_WIN32_)
typedef HDC       HDraw;
typedef HICON     HIconView;
typedef HBITMAP   HThumbView;
typedef HINSTANCE HResModule;

#elif defined(_PLATFORM_UNIX_)
typedef GC  HDraw;
typedef int HIconView;
typedef int HThumbView;
typedef int HResModule;
#endif

#endif // _$filename:toupper$_
