]>
git.saurik.com Git - apple/mdnsresponder.git/blob - mDNSWindows/DNSServiceBrowser/WindowsCE/Sources/BrowserDialog.h
1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2002-2004 Apple Computer, Inc. All rights reserved.
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
18 #if !defined(AFX_BROWSERDIALOG_H__DECC5C82_C1C6_4630_B8D5_E1DDE570A061__INCLUDED_)
19 #define AFX_BROWSERDIALOG_H__DECC5C82_C1C6_4630_B8D5_E1DDE570A061__INCLUDED_
23 #endif // _MSC_VER >= 1000
28 #include "DNSServices.h"
30 //===========================================================================================================================
32 //===========================================================================================================================
34 class BrowserDialog
: public CDialog
38 BrowserDialog( CWnd
*inParent
= NULL
);
40 //{{AFX_DATA(BrowserDialog)
41 enum { IDD
= IDD_APPLICATION_DIALOG
};
42 CListCtrl mBrowserList
;
45 // ClassWizard generated virtual function overrides
46 //{{AFX_VIRTUAL(BrowserDialog)
48 virtual void DoDataExchange(CDataExchange
* pDX
); // DDX/DDV support
55 DNSStatus inStatusCode
,
56 const DNSBrowserEvent
* inEvent
);
68 DNSBrowserRef mBrowser
;
69 CArray
< BrowserEntry
, BrowserEntry
> mBrowserEntries
;
71 // Generated message map functions
72 //{{AFX_MSG(BrowserDialog)
73 virtual BOOL
OnInitDialog();
74 afx_msg
void OnBrowserListDoubleClick(NMHDR
* pNMHDR
, LRESULT
* pResult
);
75 afx_msg LONG
OnServiceAdd( WPARAM inWParam
, LPARAM inLParam
);
76 afx_msg LONG
OnServiceRemove( WPARAM inWParam
, LPARAM inLParam
);
81 //{{AFX_INSERT_LOCATION}}
82 // Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.
84 #endif // !defined(AFX_BROWSERDIALOG_H__DECC5C82_C1C6_4630_B8D5_E1DDE570A061__INCLUDED_)