home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / macfe / prefs / PrefsPaneIDs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-04-08  |  2.8 KB  |  77 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. #pragma once
  20.  
  21. //======================================
  22. struct PrefPaneID
  23. // Here are the IDs of the prefs panes.
  24. // These ID's are used for
  25. //        (1) the class ID for the pane's mediator (used for creation of the mediator by URegistrar)
  26. //        (2) the resID of the pane, (used for reanimation of the pane)
  27. //        (3) the command that is stored in the menu that defines the prefs structure.
  28. // For a given prefs pane, the code assumes that these numbers are all the same (and in the range
  29. // 12000-12099.  99 panes should be enough.
  30.  
  31. //    The ordering is entirely determined from the menu hierarchy.  In particular, unlike 4.0,
  32. //    you no longer have to follow a consecutive number scheme, with min and max ranges.
  33. //======================================
  34. {
  35.     enum ID {
  36.         eNoPaneSpecified                            = 0        // used in calls to DoPrefsWindow()
  37.     ,    eWindowPPob                                = 12000
  38.  
  39.     ,    eAppearance_Main                        = 12050
  40.     ,    eAppearance_Fonts                        = 12051
  41.     ,    eAppearance_Colors                        = 12052
  42.  
  43.     ,    eBrowser_Main                            = 12053
  44.     ,    eBrowser_Languages                        = 12054
  45.     ,    eBrowser_Applications                    = 12055
  46.  
  47.     ,    eMailNews_Identity                        = 12057
  48.         // Leave this in for Navigator only build to get email addr pref
  49.     ,    eMailNews_Main                            = 12056
  50.     #ifdef MOZ_MAIL_NEWS
  51.     ,    eMailNews_Messages                        = 12058
  52.     ,    eMailNews_HTMLFormatting                = 12072
  53.     ,    eMailNews_Outgoing                        = 12073        //<-ÑÑÑ Current max.  Please move as nec.!
  54.     ,    eMailNews_MailServer                    = 12059
  55.     ,    eMailNews_NewsServer                    = 12060
  56.     ,    eMailNews_Directory                        = 12061
  57.     ,    eMailNews_Receipts                        = 12070
  58.     ,    eMailNews_SpecialFolders                = 12071
  59.     #endif // MOZ_MAIL_NEWS
  60.     #ifdef EDITOR
  61.     ,    eEditor_Main                            = 12062
  62.     ,    eEditor_Publish                            = 12063
  63.     #endif // EDITOR
  64.     #ifdef MOZ_MAIL_NEWS
  65.     ,    eOffline_Main                            = 12064
  66.     ,    eOffline_News                            = 12065
  67.     #endif // MOZ_MAIL_NEWS
  68.                             
  69.     ,    eAdvanced_Main                            = 12066
  70.     ,    eAdvanced_Cache                            = 12067
  71.     ,    eAdvanced_Proxies                        = 12068
  72.     #ifdef MOZ_MAIL_NEWS
  73.     ,    eAdvanced_DiskSpace                        = 12069    
  74.     #endif // MOZ_MAIL_NEWS
  75.     };
  76. };
  77.