home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / vos2-121.zip / v / include2 / v / vutil.h < prev    next >
C/C++ Source or Header  |  1999-01-22  |  1KB  |  27 lines

  1. //===============================================================
  2. // vutil.h - V utility funcitons
  3. //
  4. // Copyright (C) 1995,1996  Bruce E. Wampler
  5. //
  6. // This file is part of the V C++ GUI Framework, and is covered
  7. // under the terms of the GNU Library General Public License,
  8. // Version 2. This library has NO WARRANTY. See the source file
  9. // vapp.cxx for more complete information about license terms.
  10. //===============================================================
  11.  
  12. #ifndef VUTIL_H
  13. #define VUTIL_H
  14. #include <v/v_defs.h>
  15.     extern V_EXPORT void LongToStr(long intg, char* str);    // prototype
  16.     extern V_EXPORT void IntToStr(int intg, char* str);
  17.     extern V_EXPORT int vLblLen(const char *str);
  18.     extern V_EXPORT int vTextLen(const char *str, int& numLines);
  19.     extern V_EXPORT void vGetLocalTime(char* tm);
  20.     extern V_EXPORT void vGetLocalDate(char* tm);
  21.     extern V_EXPORT void ByteToStr(unsigned char byteval, char* str);
  22.     extern V_EXPORT long StrToLong(char* str);
  23.     extern V_EXPORT void vBeep();
  24.     extern V_EXPORT int vGetcmdIdIndex(ItemVal cmdId, CommandObject *cmdObj);
  25.  
  26. #endif
  27.