home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / winfe / talkapp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  1.8 KB  |  60 lines

  1. /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
  2.  *
  3.  * The contents of this file are subject to the Netscape Public License
  4.  * Version 1.0 (the "NPL"); you may not use this file except in
  5.  * compliance with the NPL.  You may obtain a copy of the NPL at
  6.  * http://www.mozilla.org/NPL/
  7.  *
  8.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  9.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  10.  * for the specific language governing rights and limitations under the
  11.  * NPL.
  12.  *
  13.  * The Initial Developer of this code under the NPL is Netscape
  14.  * Communications Corporation.  Portions created by Netscape are
  15.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  16.  * Reserved.
  17.  */
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23. // #define VISIBLE_WINDOW
  24.  
  25. const char talk_className[] =       "__talk_window_class__";
  26. const char talk_fileName[] =        "__talk_infofile_%x%x__";
  27.  
  28. const char talk_msgConnect[] =      "__talk_connect_message__";
  29. const char talk_msgAppInfo[] =      "__talk_appinfo_message__";
  30. const char talk_msgMessage[] =      "__talk_message_message__";
  31.  
  32. typedef enum
  33. {
  34.     //  talk_msgConnect
  35.     //
  36.     subHookerIsActive,
  37.     subRegisterApp,
  38.     subUnregisterApp,
  39.     subStateChange,
  40.     subInvalidWindow,
  41.  
  42.     //  talk_msgAppInfo
  43.     //
  44.     subGetAppFirst,
  45.     subGetAppNext,
  46.     subGetAppType,
  47. }
  48.     TSubMessage;
  49.  
  50. //  This function is implemented in talk, not in talkapp. The reason
  51. //  it is listed here instead of talk.h is to keep it seperate from the
  52. //  public functions that are listed there. This function is called only
  53. //  by the owner of talkapp.exe.
  54. //
  55. LIBEXPORT unsigned long TALK_RegisterTalkApp(char* keyPath, char* exePath);
  56.  
  57. #ifdef __cplusplus
  58. } // extern "C"
  59. #endif
  60.