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

  1. /* -*- Mode: C++; tab-width: 8; 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.    ABNameCTalkTabView.h -- class definition for ABNameCTalkTabView
  20.    Created: Tao Cheng <tao@netscape.com>, 12-nov-96
  21.  */
  22.  
  23. #ifndef _xfe_abnamectalktabview_h
  24. #define _xfe_abnamectalktabview_h
  25.  
  26. #include "PropertyTabView.h"
  27.  
  28. class XFE_ABNameCTalkTabView: public XFE_PropertyTabView {
  29. public:
  30.   XFE_ABNameCTalkTabView(XFE_Component *top, /* the parent folderDialog */
  31.              XFE_View      *view /* the parent view */);
  32.   virtual ~XFE_ABNameCTalkTabView();
  33.  
  34.   virtual void setDlgValues();
  35.  
  36.   static void comboSelCallback(Widget, XtPointer, XtPointer);
  37.  
  38. protected:
  39.   virtual void comboSelCB(Widget w, XtPointer callData);
  40.   virtual void apply();
  41.   virtual void getDlgValues();
  42.  
  43. private:
  44.   /* m_widget is the tab form
  45.    */
  46.   Widget m_serverCombo;
  47.   Widget m_typeinTextForm;    
  48.   Widget m_textFs[2];
  49.   Widget m_serverExample;
  50.  
  51.   /* server type 
  52.    */
  53.   short  m_serverType;
  54.  
  55.   void setServerState(short serverType, char* serverName);    
  56. }; /* XFE_ABNameCTalkTabView */
  57.  
  58. #endif /* _xfe_abnamectalktabview_h */
  59.