forked from angryip/ipscan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIPFeedDlgFactory.h
43 lines (35 loc) · 1.54 KB
/
IPFeedDlgFactory.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*********************************************************************
* This is a part of Angry IP Scanner source code *
* http://www.angryziber.com/ipscan/ *
* *
* Written by Angryziber *
* *
* You may distribute this code as long as this message is not *
* removed and it is clear who has written it. *
* You may not rename the program and distribute it. *
*********************************************************************/
// IPFeedDlgFactory.h: interface for the CIPFeedDlgFactory class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_IPFEEDDLGFACTORY_H__08CA8002_A70F_43E2_B871_3177FAFAF9A1__INCLUDED_)
#define AFX_IPFEEDDLGFACTORY_H__08CA8002_A70F_43E2_B871_3177FAFAF9A1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "AbstractIPFeedDlg.h"
class CIPFeedDlgFactory
{
protected:
CAbstractIPFeedDlg * m_paIPFeeds[10];
CString m_szIPFeedNames[10];
CString m_szIPFeedTypes[10];
int m_nIPFeeds;
public:
CIPFeedDlgFactory();
virtual ~CIPFeedDlgFactory();
int getIPFeedCount();
CAbstractIPFeedDlg * getIPFeed(int nIndex);
CString & getIPFeedName(int nIndex);
int getIndexByType(const CString & szType);
};
#endif // !defined(AFX_IPFEEDDLGFACTORY_H__08CA8002_A70F_43E2_B871_3177FAFAF9A1__INCLUDED_)