free world changes
This commit is contained in:
Родитель
7f7b55b452
Коммит
2557ec9410
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1,871 +0,0 @@
|
|||
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
|
||||
*
|
||||
* The contents of this file are subject to the Netscape Public License
|
||||
* Version 1.0 (the "NPL"); you may not use this file except in
|
||||
* compliance with the NPL. You may obtain a copy of the NPL at
|
||||
* http://www.mozilla.org/NPL/
|
||||
*
|
||||
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||||
* for the specific language governing rights and limitations under the
|
||||
* NPL.
|
||||
*
|
||||
* The Initial Developer of this code under the NPL is Netscape
|
||||
* Communications Corporation. Portions created by Netscape are
|
||||
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
|
||||
* Reserved.
|
||||
*/
|
||||
|
||||
#include "addrfrm.h"
|
||||
|
||||
#ifdef MOZ_NEWADDR
|
||||
|
||||
#ifndef _addrprop_h_
|
||||
#define _addrprop_h_
|
||||
|
||||
// ADDRFRM.H
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// This file contains the declarations of the various address book related
|
||||
// classes.
|
||||
//
|
||||
|
||||
#include "outliner.h"
|
||||
#include "apimsg.h"
|
||||
#include "xp_core.h"
|
||||
#include "abcom.h"
|
||||
#include "property.h"
|
||||
#include "abmldlg.h"
|
||||
#include "mailfrm.h"
|
||||
#include "mnrccln.h"
|
||||
|
||||
// above the range for normal EN_ messages
|
||||
#define PEN_ILLEGALCHAR 0x8000
|
||||
// sent to parent when illegal character hit
|
||||
// return 0 if you want parsed edit to beep
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddrEditProperties
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property sheet window for editing all the attributes
|
||||
* of the people types in the address book
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddrEditProperties : public CNetscapePropertySheet
|
||||
{
|
||||
protected:
|
||||
ABID m_entryID;
|
||||
|
||||
CPropertyPage * m_pUserProperties;
|
||||
CPropertyPage * m_pContact;
|
||||
CPropertyPage * m_pSecurity;
|
||||
CPropertyPage * m_pCooltalk;
|
||||
CMailNewsResourceSwitcher m_MailNewsResourceSwitcher;
|
||||
MSG_Pane * m_pPane;
|
||||
//is this a new card
|
||||
BOOL m_bNew;
|
||||
|
||||
public:
|
||||
MWContext* m_context;
|
||||
HFONT m_pFont;
|
||||
|
||||
public:
|
||||
CAddrEditProperties ( CAddrFrame* frameref, LPCTSTR lpszCaption,
|
||||
CWnd * parent = NULL, MSG_Pane * pane = NULL,
|
||||
MWContext* context = NULL, BOOL bNew = FALSE);
|
||||
virtual ~CAddrEditProperties ( );
|
||||
virtual void OnHelp();
|
||||
virtual int DoModal();
|
||||
virtual BOOL Create( CWnd* pParentWnd = NULL, DWORD dwStyle = (DWORD)1, DWORD dwExStyle = 0 );
|
||||
|
||||
void SetAttributes(MSG_Pane *pane);
|
||||
HFONT GetHFont() { return (m_pFont); }
|
||||
void CloseWindow ();
|
||||
|
||||
protected:
|
||||
CAddrFrame* m_frame;
|
||||
// virtual ~CAddrEditProperties ( );
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddrEditProperties)
|
||||
public:
|
||||
virtual void OnOK();
|
||||
afx_msg void OnDestroy( );
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddrEditProperties)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg int OnCreate( LPCREATESTRUCT );
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddressUser
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property page for editing the most common attributes
|
||||
* of the people types in the address book
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddressUser : public CNetscapePropertyPage
|
||||
{
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CAddressUser(CWnd *pParent, BOOL bNew);
|
||||
virtual ~CAddressUser();
|
||||
|
||||
BOOL m_bActivated;
|
||||
BOOL m_bNew;
|
||||
BOOL m_bUserChangedDisplay;
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CAddressUser)
|
||||
enum { IDD = IDD_ADDRESS_USER };
|
||||
CString m_address;
|
||||
CString m_description;
|
||||
CString m_firstname;
|
||||
CString m_lastname;
|
||||
CString m_nickname;
|
||||
int m_useHTML;
|
||||
CString m_company;
|
||||
CString m_title;
|
||||
CString m_displayname;
|
||||
CString m_department;
|
||||
//}}AFX_DATA
|
||||
|
||||
void SetAttributes(MSG_Pane *pane);
|
||||
BOOL PerformOnOK(MSG_Pane *pane);
|
||||
void SetFonts( HFONT pFont );
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddressUser)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual BOOL OnSetActive();
|
||||
virtual BOOL OnKillActive();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddressUser)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg void OnCloseWindow();
|
||||
afx_msg void OnNameTextChange();
|
||||
afx_msg void OnDisplayNameTextChange();
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddressContact
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property page for editing the contact info
|
||||
* of the people types in the address book
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddressContact : public CNetscapePropertyPage
|
||||
{
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CAddressContact(CWnd *pParent);
|
||||
virtual ~CAddressContact();
|
||||
|
||||
BOOL m_bActivated;
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CAddressContact)
|
||||
enum { IDD = IDD_ADDRESS_CONTACT };
|
||||
CString m_poaddress;
|
||||
CString m_address;
|
||||
CString m_locality;
|
||||
CString m_region;
|
||||
CString m_zip;
|
||||
CString m_country;
|
||||
CString m_work;
|
||||
CString m_fax;
|
||||
CString m_home;
|
||||
CString m_pager;
|
||||
CString m_cellular;
|
||||
//}}AFX_DATA
|
||||
|
||||
void SetAttributes(MSG_Pane *pane);
|
||||
BOOL PerformOnOK(MSG_Pane *pane);
|
||||
void SetFonts( HFONT pFont );
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddressContact)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual BOOL OnSetActive();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddressContact)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg void OnCloseWindow();
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddressCooltalk
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property page for editing and accessing the cool
|
||||
* talk attributes for a person object.
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddressCooltalk : public CNetscapePropertyPage
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CAddressCooltalk(CWnd *pParent);
|
||||
virtual ~CAddressCooltalk();
|
||||
|
||||
BOOL m_bActivated;
|
||||
|
||||
void SetAttributes(MSG_Pane *pane);
|
||||
BOOL PerformOnOK(MSG_Pane *pane);
|
||||
void SetExplanationText();
|
||||
void SetFonts( HFONT pFont );
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CAddressCooltalk)
|
||||
enum { IDD = IDD_ADDRESS_COOLTALK };
|
||||
CString m_ipaddress;
|
||||
CString m_specificDLS;
|
||||
CString m_hostorIP;
|
||||
int m_iUseServer;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddressCooltalk)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual BOOL OnSetActive();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddressCooltalk)
|
||||
afx_msg void OnCloseWindow();
|
||||
afx_msg void OnSelendokServer();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddressSecurity
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property page for editing and accessing the security
|
||||
* attributes for a person object.
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddressSecurity : public CNetscapePropertyPage
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CAddressSecurity(CWnd *pParent); // standard constructor
|
||||
virtual ~CAddressSecurity();
|
||||
|
||||
BOOL m_bActivated;
|
||||
|
||||
void SetAttributes(MSG_Pane *pane);
|
||||
BOOL PerformOnOK(MSG_Pane *pane);
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CAddressSecurity)
|
||||
enum { IDD = IDD_ADDRESS_SECURITY };
|
||||
CString m_explain1;
|
||||
CString m_explain2;
|
||||
CString m_explain3;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generated virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddressSecurity)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual BOOL OnSetActive();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddressSecurity)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg void OnCloseWindow();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddrLDAPProperties
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property sheet window for editing all the attributes
|
||||
* of the people types in the address book
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddrLDAPProperties : public CNetscapePropertySheet
|
||||
{
|
||||
protected:
|
||||
CPropertyPage * m_pLDAPProperties;
|
||||
CPropertyPage * m_pOfflineProperties;
|
||||
CMailNewsResourceSwitcher m_MailNewsResourceSwitcher;
|
||||
|
||||
public:
|
||||
DIR_Server* m_pExistServer;
|
||||
DIR_Server m_serverInfo;
|
||||
HFONT m_pFont;
|
||||
MWContext* m_context;
|
||||
|
||||
public:
|
||||
CAddrLDAPProperties (CWnd * parent,
|
||||
MWContext* context,
|
||||
DIR_Server* dir = NULL,
|
||||
LPCTSTR lpszCaption = NULL);
|
||||
virtual ~CAddrLDAPProperties ( );
|
||||
virtual void OnHelp();
|
||||
virtual int DoModal();
|
||||
HFONT GetHFont() { return (m_pFont); }
|
||||
|
||||
protected:
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddrLDAPProperties)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddrLDAPProperties)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg int OnCreate( LPCREATESTRUCT );
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
class CServerDialog : public CNetscapePropertyPage
|
||||
{
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
CServerDialog(CWnd* pParent = NULL, DIR_Server *pExistServer = NULL, DIR_Server *pNewServer = NULL);
|
||||
|
||||
enum { IDD = IDD_PREF_LDAP_SERVER};
|
||||
|
||||
DIR_Server *m_pExistServer;
|
||||
DIR_Server *m_serverInfo;
|
||||
BOOL m_bActivated;
|
||||
|
||||
//{{AFX_VIRTUAL(CServerDialog)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
BOOL ValidDataInput();
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CServerDialog)
|
||||
public:
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnSetActive();
|
||||
virtual BOOL OnKillActive();
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
afx_msg void OnCheckSecure();
|
||||
afx_msg void OnEnableLoginLDAP();
|
||||
afx_msg void OnHelp();
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
class CServerOfflineDialog : public CNetscapePropertyPage
|
||||
{
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
CServerOfflineDialog(CWnd* pParent = NULL, DIR_Server *pServer = NULL, DIR_Server *pNewServer = NULL);
|
||||
|
||||
enum { IDD = IDD_PREF_LDAP_OFFLINE_SETTINGS};
|
||||
|
||||
DIR_Server *m_pExistServer;
|
||||
DIR_Server *m_serverInfo;
|
||||
BOOL m_bActivated;
|
||||
|
||||
//{{AFX_VIRTUAL(CServerOfflineDialog)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CServerOfflineDialog)
|
||||
public:
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnSetActive();
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
afx_msg void OnUpdateNow();
|
||||
afx_msg void OnHelp();
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
#else //MOZ_NEWADDR
|
||||
#ifndef _addrprop_h_
|
||||
#define _addrprop_h_
|
||||
|
||||
// ADDRFRM.H
|
||||
//
|
||||
// DESCRIPTION:
|
||||
// This file contains the declarations of the various address book related
|
||||
// classes.
|
||||
//
|
||||
|
||||
#include "outliner.h"
|
||||
#include "apimsg.h"
|
||||
#include "xp_core.h"
|
||||
#include "addrbook.h"
|
||||
#include "property.h"
|
||||
#include "abmldlg.h"
|
||||
#include "mailfrm.h"
|
||||
#include "mnrccln.h"
|
||||
|
||||
// above the range for normal EN_ messages
|
||||
#define PEN_ILLEGALCHAR 0x8000
|
||||
// sent to parent when illegal character hit
|
||||
// return 0 if you want parsed edit to beep
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddrEditProperties
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property sheet window for editing all the attributes
|
||||
* of the people types in the address book
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddrEditProperties : public CNetscapePropertySheet
|
||||
{
|
||||
protected:
|
||||
ABID m_entryID;
|
||||
|
||||
CPropertyPage * m_pUserProperties;
|
||||
CPropertyPage * m_pContact;
|
||||
CPropertyPage * m_pSecurity;
|
||||
CPropertyPage * m_pCooltalk;
|
||||
CMailNewsResourceSwitcher m_MailNewsResourceSwitcher;
|
||||
|
||||
public:
|
||||
DIR_Server* m_dir;
|
||||
MWContext* m_context;
|
||||
HFONT m_pFont;
|
||||
PersonEntry* m_pPerson;
|
||||
|
||||
public:
|
||||
CAddrEditProperties ( CAddrFrame* frameref, DIR_Server* dir,
|
||||
LPCTSTR lpszCaption,
|
||||
CWnd * parent = NULL, ABID entryID = NULL,
|
||||
PersonEntry* person = NULL,
|
||||
MWContext* context = NULL);
|
||||
virtual ~CAddrEditProperties ( );
|
||||
virtual void OnHelp();
|
||||
virtual int DoModal();
|
||||
virtual BOOL Create( CWnd* pParentWnd = NULL, DWORD dwStyle = (DWORD)1, DWORD dwExStyle = 0 );
|
||||
|
||||
void SetEntryID(DIR_Server* dir, ABID entryID = NULL, PersonEntry* person = NULL);
|
||||
ABID GetEntryID() { return (m_entryID); }
|
||||
DIR_Server* GetDirectoryServer() { return (m_dir); }
|
||||
HFONT GetHFont() { return (m_pFont); }
|
||||
void CloseWindow ();
|
||||
|
||||
protected:
|
||||
CAddrFrame* m_frame;
|
||||
// virtual ~CAddrEditProperties ( );
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddrEditProperties)
|
||||
public:
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddrEditProperties)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg int OnCreate( LPCREATESTRUCT );
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddressUser
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property page for editing the most common attributes
|
||||
* of the people types in the address book
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddressUser : public CNetscapePropertyPage
|
||||
{
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CAddressUser(CWnd *pParent);
|
||||
virtual ~CAddressUser();
|
||||
|
||||
BOOL m_bActivated;
|
||||
DIR_Server* m_dir;
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CAddressUser)
|
||||
enum { IDD = IDD_ADDRESS_USER };
|
||||
CString m_address;
|
||||
CString m_description;
|
||||
CString m_firstname;
|
||||
CString m_lastname;
|
||||
CString m_nickname;
|
||||
int m_useHTML;
|
||||
CString m_company;
|
||||
CString m_title;
|
||||
CString m_department;
|
||||
CString m_displayname;
|
||||
//}}AFX_DATA
|
||||
|
||||
void SetEntryID(DIR_Server* dir, ABID entryID = NULL, PersonEntry* person = NULL);
|
||||
BOOL PerformOnOK(PersonEntry* person);
|
||||
void SetFonts( HFONT pFont );
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddressUser)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual BOOL OnSetActive();
|
||||
virtual BOOL OnKillActive();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddressUser)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg void OnCloseWindow();
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddressContact
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property page for editing the contact info
|
||||
* of the people types in the address book
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddressContact : public CNetscapePropertyPage
|
||||
{
|
||||
|
||||
// Construction
|
||||
public:
|
||||
CAddressContact(CWnd *pParent);
|
||||
virtual ~CAddressContact();
|
||||
|
||||
BOOL m_bActivated;
|
||||
DIR_Server* m_dir;
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CAddressContact)
|
||||
enum { IDD = IDD_ADDRESS_CONTACT };
|
||||
CString m_poaddress;
|
||||
CString m_address;
|
||||
CString m_locality;
|
||||
CString m_region;
|
||||
CString m_zip;
|
||||
CString m_country;
|
||||
CString m_work;
|
||||
CString m_fax;
|
||||
CString m_home;
|
||||
CString m_pager;
|
||||
CString m_cellular;
|
||||
//}}AFX_DATA
|
||||
|
||||
void SetEntryID(DIR_Server* dir, ABID entryID = NULL, PersonEntry* person = NULL);
|
||||
BOOL PerformOnOK(PersonEntry* person);
|
||||
void SetFonts( HFONT pFont );
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddressContact)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual BOOL OnSetActive();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddressContact)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg void OnCloseWindow();
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddressCooltalk
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property page for editing and accessing the cool
|
||||
* talk attributes for a person object.
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddressCooltalk : public CNetscapePropertyPage
|
||||
{
|
||||
// Construction
|
||||
public:
|
||||
CAddressCooltalk(CWnd *pParent);
|
||||
virtual ~CAddressCooltalk();
|
||||
|
||||
BOOL m_bActivated;
|
||||
DIR_Server* m_dir;
|
||||
|
||||
void SetEntryID(DIR_Server* dir, ABID entryID = NULL, PersonEntry* person = NULL);
|
||||
BOOL PerformOnOK(PersonEntry* person);
|
||||
void SetExplanationText();
|
||||
void SetFonts( HFONT pFont );
|
||||
|
||||
// Dialog Data
|
||||
//{{AFX_DATA(CAddressCooltalk)
|
||||
enum { IDD = IDD_ADDRESS_COOLTALK };
|
||||
CString m_ipaddress;
|
||||
CString m_specificDLS;
|
||||
CString m_hostorIP;
|
||||
int m_iUseServer;
|
||||
//}}AFX_DATA
|
||||
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddressCooltalk)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
virtual BOOL OnSetActive();
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddressCooltalk)
|
||||
afx_msg void OnCloseWindow();
|
||||
afx_msg void OnSelendokServer();
|
||||
//}}AFX_MSG
|
||||
DECLARE_MESSAGE_MAP()
|
||||
|
||||
};
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
*
|
||||
* Class: CAddrLDAPProperties
|
||||
*
|
||||
* DESCRIPTION:
|
||||
* This class is the property sheet window for editing all the attributes
|
||||
* of the people types in the address book
|
||||
*
|
||||
****************************************************************************/
|
||||
class CAddrLDAPProperties : public CNetscapePropertySheet
|
||||
{
|
||||
protected:
|
||||
CPropertyPage * m_pLDAPProperties;
|
||||
CPropertyPage * m_pOfflineProperties;
|
||||
CMailNewsResourceSwitcher m_MailNewsResourceSwitcher;
|
||||
|
||||
public:
|
||||
DIR_Server* m_pExistServer;
|
||||
DIR_Server m_serverInfo;
|
||||
HFONT m_pFont;
|
||||
MWContext* m_context;
|
||||
|
||||
public:
|
||||
CAddrLDAPProperties (CWnd * parent,
|
||||
MWContext* context,
|
||||
DIR_Server* dir = NULL,
|
||||
LPCTSTR lpszCaption = NULL);
|
||||
virtual ~CAddrLDAPProperties ( );
|
||||
virtual void OnHelp();
|
||||
virtual int DoModal();
|
||||
|
||||
HFONT GetHFont() { return (m_pFont); }
|
||||
|
||||
protected:
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CAddrLDAPProperties)
|
||||
public:
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Generated message map functions
|
||||
//{{AFX_MSG(CAddrLDAPProperties)
|
||||
// NOTE: the ClassWizard will add member functions here
|
||||
afx_msg int OnCreate( LPCREATESTRUCT );
|
||||
//}}AFX_MSG
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
class CServerDialog : public CNetscapePropertyPage
|
||||
{
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
CServerDialog(CWnd* pParent = NULL, DIR_Server *pExistServer = NULL, DIR_Server *pNewServer = NULL);
|
||||
|
||||
enum { IDD = IDD_PREF_LDAP_SERVER};
|
||||
|
||||
DIR_Server *m_pExistServer;
|
||||
DIR_Server *m_serverInfo;
|
||||
BOOL m_bActivated;
|
||||
|
||||
//{{AFX_VIRTUAL(CServerDialog)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
|
||||
BOOL ValidDataInput();
|
||||
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CServerDialog)
|
||||
public:
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnKillActive();
|
||||
virtual BOOL OnSetActive();
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
afx_msg void OnCheckSecure();
|
||||
afx_msg void OnEnableLoginLDAP();
|
||||
afx_msg void OnHelp();
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
class CServerOfflineDialog : public CNetscapePropertyPage
|
||||
{
|
||||
// Attributes
|
||||
public:
|
||||
|
||||
CServerOfflineDialog(CWnd* pParent = NULL, DIR_Server *pServer = NULL, DIR_Server *pNewServer = NULL);
|
||||
|
||||
enum { IDD = IDD_PREF_LDAP_OFFLINE_SETTINGS};
|
||||
|
||||
DIR_Server *m_pExistServer;
|
||||
DIR_Server *m_serverInfo;
|
||||
BOOL m_bActivated;
|
||||
|
||||
//{{AFX_VIRTUAL(CServerOfflineDialog)
|
||||
protected:
|
||||
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
// Implementation
|
||||
protected:
|
||||
// Overrides
|
||||
// ClassWizard generate virtual function overrides
|
||||
//{{AFX_VIRTUAL(CServerOfflineDialog)
|
||||
public:
|
||||
virtual void OnOK();
|
||||
virtual BOOL OnSetActive();
|
||||
virtual BOOL OnInitDialog();
|
||||
//}}AFX_VIRTUAL
|
||||
|
||||
afx_msg void OnUpdateNow();
|
||||
afx_msg void OnHelp();
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
#endif // MOZ_NEWADDR
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -1001,7 +1001,7 @@ BEGIN
|
|||
LTEXT "&Port:",IDC_STATIC,7,29,25,10
|
||||
EDITTEXT IDC_EDIT_PORT,35,28,83,12,ES_AUTOHSCROLL
|
||||
#ifdef MOZ_SECURITY
|
||||
CONTROL "Se&cure",IDC_SECURE,"Button",BS_AUTOCHECKBOX |
|
||||
CONTROL "Se&cure",IDC_X,"Button",BS_AUTOCHECKBOX |
|
||||
WS_TABSTOP,35,47,49,13
|
||||
#endif
|
||||
DEFPUSHBUTTON "OK",IDOK,21,79,50,14
|
||||
|
@ -1080,7 +1080,7 @@ BEGIN
|
|||
11
|
||||
EDITTEXT IDC_EDIT_MAX_HITS,95,66,32,12,ES_AUTOHSCROLL
|
||||
#ifdef MOZ_SECURITY
|
||||
CONTROL "Se&cure",IDC_SECURE,"Button",BS_AUTOCHECKBOX |
|
||||
CONTROL "Se&cure",IDC_X,"Button",BS_AUTOCHECKBOX |
|
||||
WS_TABSTOP,155,55,55,10
|
||||
#endif
|
||||
CONTROL "S&ave Password",IDC_SAVE_PASSWORD,"Button",
|
||||
|
|
|
@ -474,7 +474,9 @@ BEGIN
|
|||
MENUITEM SEPARATOR
|
||||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
#ifdef MOZ_MAIL_NEWS
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
#endif
|
||||
|
@ -667,7 +669,9 @@ BEGIN
|
|||
#if defined(JAVA) || defined(OJI)
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#endif
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
#ifdef MOZ_MAIL_NEWS
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
#endif //MOZ_MAIL_NEWS
|
||||
|
@ -1083,7 +1087,7 @@ BEGIN
|
|||
IDC_MNWIZ_READNEWS_FINISH,0,130,240,19
|
||||
LTEXT "&Port:",IDC_STATIC,0,63,17,10
|
||||
EDITTEXT IDC_EDIT_PORT,20,61,83,12,ES_AUTOHSCROLL
|
||||
CONTROL "Se&cure",IDC_SECURE,"Button",BS_AUTOCHECKBOX |
|
||||
CONTROL "Se&cure",IDC_X,"Button",BS_AUTOCHECKBOX |
|
||||
WS_TABSTOP,111,61,49,13
|
||||
END
|
||||
|
||||
|
@ -1144,7 +1148,7 @@ BEGIN
|
|||
EDITTEXT IDC_EDIT2,9,86,135,12,ES_AUTOHSCROLL
|
||||
LTEXT "(e.g. jsmith@company.com)",IDC_STATIC_EG2,150,88,109,10
|
||||
LTEXT "static3",IDC_STATIC3,11,103,135,10
|
||||
CONTROL "Se&cure",IDC_SECURE,"Button",BS_AUTOCHECKBOX |
|
||||
CONTROL "Se&cure",IDC_X,"Button",BS_AUTOCHECKBOX |
|
||||
WS_TABSTOP,10,100,49,13
|
||||
EDITTEXT IDC_EDIT3,10,115,135,12,ES_AUTOHSCROLL
|
||||
CONTROL "IM&AP",IDC_READMAIL_IMAP,"Button",BS_AUTORADIOBUTTON,10,
|
||||
|
@ -1240,7 +1244,7 @@ BEGIN
|
|||
PUSHBUTTON "< Back",IDC_BUTTON_BACK,55,187,50,14
|
||||
DEFPUSHBUTTON "Next >",IDOK,106,187,50,14
|
||||
PUSHBUTTON "Cancel",IDCANCEL,162,187,50,14
|
||||
CONTROL "Se&cure",IDC_SECURE,"Button",BS_AUTOCHECKBOX |
|
||||
CONTROL "Se&cure",IDC_X,"Button",BS_AUTOCHECKBOX |
|
||||
WS_TABSTOP,11,103,52,12
|
||||
END
|
||||
|
||||
|
@ -1428,8 +1432,10 @@ BEGIN
|
|||
"D", ID_HOTLIST_ADDCURRENTTOHOTLIST, VIRTKEY, CONTROL,
|
||||
NOINVERT
|
||||
"H", ID_GO_HISTORY, VIRTKEY, CONTROL, NOINVERT
|
||||
#ifdef MOZ_SECURITY
|
||||
"I", ID_SECURITY, VIRTKEY, SHIFT, CONTROL,
|
||||
NOINVERT
|
||||
#endif
|
||||
"K", ID_FILE_COMPRESSTHISFOLDER, VIRTKEY, CONTROL, NOINVERT
|
||||
"M", ID_FILE_NEWMESSAGE, VIRTKEY, CONTROL, NOINVERT
|
||||
"N", ID_NEW_FRAME, VIRTKEY, CONTROL, NOINVERT
|
||||
|
@ -1476,8 +1482,10 @@ BEGIN
|
|||
"E", ID_EDIT_REDO, VIRTKEY, CONTROL, NOINVERT
|
||||
"F", ID_EDIT_FIND, VIRTKEY, CONTROL, NOINVERT
|
||||
"H", ID_GO_HISTORY, VIRTKEY, CONTROL, NOINVERT
|
||||
#ifdef MOZ_SECURITY
|
||||
"I", ID_SECURITY, VIRTKEY, SHIFT, CONTROL,
|
||||
NOINVERT
|
||||
#endif
|
||||
"M", ID_FILE_NEWMESSAGE, VIRTKEY, CONTROL, NOINVERT
|
||||
"N", ID_NEW_FRAME, VIRTKEY, CONTROL, NOINVERT
|
||||
"N", ID_EDT_NEW_DOC_BLANK, VIRTKEY, SHIFT, CONTROL,
|
||||
|
@ -1518,8 +1526,10 @@ BEGIN
|
|||
"G", ID_EDIT_FINDAGAIN, VIRTKEY, CONTROL, NOINVERT
|
||||
"H", ID_GO_HISTORY, VIRTKEY, CONTROL, NOINVERT
|
||||
"I", ID_MESSAGE_KILL, VIRTKEY, CONTROL, NOINVERT
|
||||
#ifdef MOZ_SECURITY
|
||||
"I", ID_SECURITY, VIRTKEY, SHIFT, CONTROL,
|
||||
NOINVERT
|
||||
#endif
|
||||
"L", ID_MESSAGE_FORWARDQUOTED, VIRTKEY, SHIFT, CONTROL,
|
||||
NOINVERT
|
||||
"M", ID_FILE_MAILNEW, VIRTKEY, CONTROL, NOINVERT
|
||||
|
@ -1586,8 +1596,10 @@ BEGIN
|
|||
"G", ID_EDIT_FINDAGAIN, VIRTKEY, CONTROL, NOINVERT
|
||||
"H", ID_GO_HISTORY, VIRTKEY, CONTROL, NOINVERT
|
||||
"I", ID_MESSAGE_KILL, VIRTKEY, CONTROL, NOINVERT
|
||||
#ifdef MOZ_SECURITY
|
||||
"I", ID_SECURITY, VIRTKEY, SHIFT, CONTROL,
|
||||
NOINVERT
|
||||
#endif
|
||||
"K", ID_FILE_COMPRESSTHISFOLDER, VIRTKEY, CONTROL, NOINVERT
|
||||
"L", ID_MESSAGE_FORWARD, VIRTKEY, CONTROL, NOINVERT
|
||||
"L", ID_MESSAGE_FORWARDQUOTED, VIRTKEY, SHIFT, CONTROL,
|
||||
|
@ -1673,8 +1685,10 @@ BEGIN
|
|||
"F", IDM_FINDINMESSAGE, VIRTKEY, CONTROL, NOINVERT
|
||||
"G", IDM_FINDAGAIN, VIRTKEY, CONTROL, NOINVERT
|
||||
"H", ID_GO_HISTORY, VIRTKEY, CONTROL, NOINVERT
|
||||
#ifdef MOZ_SECURITY
|
||||
"I", ID_SECURITY, VIRTKEY, SHIFT, CONTROL,
|
||||
NOINVERT
|
||||
#endif
|
||||
"M", ID_FILE_MAILNEW, VIRTKEY, CONTROL, NOINVERT
|
||||
"N", ID_NEW_FRAME, VIRTKEY, CONTROL, NOINVERT
|
||||
"N", ID_EDT_NEW_DOC_BLANK, VIRTKEY, SHIFT, CONTROL,
|
||||
|
@ -1864,7 +1878,9 @@ BEGIN
|
|||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
POPUP "Server Tools"
|
||||
BEGIN
|
||||
|
@ -1980,7 +1996,9 @@ BEGIN
|
|||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Replace Me!", ID_WINDOW_WINDOW_0
|
||||
|
@ -2077,7 +2095,9 @@ BEGIN
|
|||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Replace Me!", ID_WINDOW_WINDOW_0
|
||||
|
@ -2334,7 +2354,9 @@ BEGIN
|
|||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
POPUP "Server Tools"
|
||||
BEGIN
|
||||
|
@ -2627,7 +2649,9 @@ BEGIN
|
|||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
POPUP "Server Tools"
|
||||
BEGIN
|
||||
|
@ -3049,7 +3073,9 @@ BEGIN
|
|||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "Replace Me!", ID_WINDOW_WINDOW_0
|
||||
|
@ -3396,7 +3422,9 @@ BEGIN
|
|||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
#ifdef MOZ_MAIL_NEWS
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
#endif //MOZ_MAIL_NEWS
|
||||
|
@ -3522,7 +3550,9 @@ BEGIN
|
|||
END
|
||||
MENUITEM "&History\tCtrl+H", ID_GO_HISTORY
|
||||
MENUITEM "&Java Console", ID_OPTIONS_SHOWJAVACONSOLE
|
||||
#ifdef MOZ_SECURITY
|
||||
MENUITEM "&Security Info\tCtrl+Shift+I", ID_SECURITY
|
||||
#endif
|
||||
#ifdef MOZ_MAIL_NEWS
|
||||
MENUITEM "Migration Tools", ID_MIGRATION_TOOLS
|
||||
#endif
|
||||
|
|
|
@ -819,7 +819,7 @@
|
|||
#define IDB_EDIT_JAVA_MASK 914
|
||||
#define IDB_EDIT_PLUGIN 915
|
||||
#define IDB_EDIT_PLUGIN_MASK 916
|
||||
#define IDD_ADDRESS_SECURITY 917
|
||||
#define IDD_ADDRESS_X 917
|
||||
#define IDS_EMAILADDRESS 917
|
||||
#define IDD_ADDRESS_COOLTALK 918
|
||||
#define IDS_COMPANYNAME 918
|
||||
|
@ -913,7 +913,7 @@
|
|||
#define IDC_HEIGHT 1017
|
||||
#define IDC_KEEP_ALL 1017
|
||||
#define IDC_PERCENT_HEIGHT 1018
|
||||
#define IDC_SECURE 1018
|
||||
#define IDC_X 1018
|
||||
#define IDC_LIST3 1019
|
||||
#define IDC_CHECK_SAVE_PASSWORD 1019
|
||||
#define IDC_SAVE_PASSWORD 1019
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче