home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / sybase / starbuck / hpp.z / WKEYBLAY.HPP < prev    next >
C/C++ Source or Header  |  1996-10-18  |  2KB  |  76 lines

  1. /* %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2.    %     Copyright (C) 1994, by WATCOM International Inc.  All rights    %
  3.    %     reserved.  No part of this software may be reproduced or        %
  4.    %     used in any form or by any means - graphic, electronic or       %
  5.    %     mechanical, including photocopying, recording, taping or        %
  6.    %     information storage and retrieval systems - except with the     %
  7.    %     written permission of WATCOM International Inc.                 %
  8.    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9. */
  10.  
  11. /*************************************************************************
  12.  *
  13.  * WKeyboardLayoutID --
  14.  *
  15.  *************************************************************************/
  16.  
  17. #ifndef _WKEYBLAY_HPP_INCLUDED
  18. #define _WKEYBLAY_HPP_INCLUDED
  19.  
  20. #ifndef _WNO_PRAGMA_PUSH
  21. #pragma pack(push,8);
  22. #pragma enum int;
  23. #endif
  24.  
  25. #ifndef _WOBJECT_HPP_INCLUDED
  26. #  include "wobject.hpp"
  27. #endif
  28.  
  29.  
  30. class WCMCLASS WKeyboardLayoutID : public WObject {
  31.     WDeclareSubclass( WKeyboardLayoutID, WObject );
  32.     
  33.     public:
  34.  
  35.         /*********************************************************
  36.          * Constructors and destructors
  37.          *********************************************************/
  38.  
  39.         WKeyboardLayoutID();
  40.         ~WKeyboardLayoutID();
  41.  
  42.         /*********************************************************
  43.          * Methods
  44.          *********************************************************/
  45.  
  46.         WBool Create();
  47.  
  48.         /*********************************************************
  49.          * Properties
  50.          *********************************************************/
  51.  
  52.         WString GetID();
  53.  
  54.     protected:
  55.  
  56.         void  Clean();
  57.  
  58.  
  59.         /*********************************************************
  60.          * Data members
  61.          *********************************************************/
  62.  
  63.     private:
  64.  
  65.         WString _layoutID;
  66. };
  67.  
  68.  
  69. #ifndef _WNO_PRAGMA_PUSH
  70. #pragma enum pop;
  71. #pragma pack(pop);
  72. #endif
  73.  
  74. #endif // _WKEYBLAY_HPP_INCLUDED
  75.  
  76.