fsDownloads_GroupsMgr Class Reference

#include <fsDownloads_GroupsMgr.h>

List of all members.

Public Member Functions

void SetGroupFolder (int iGrp, LPCSTR pszFldr)
LPCSTR GetGroupFolder (int iGrp)
void CreateGroup (fsDownloadGroup *grp)
void DeleteGroup (LPCSTR pszGroup)
int FindGroupByName (LPCSTR pszName)
int FindGroupByExt (LPCSTR pszExt)
LPCSTR GetGroupName (int iGrp)
void UpdateGroup (int iGrp, fsDownloadGroup *grp)
BOOL GetGroup (fsDownloadGroup *pGroup, int iGroup)
int GetCount ()
BOOL SaveGroups ()
BOOL LoadGroups ()
 fsDownloads_GroupsMgr ()
virtual ~fsDownloads_GroupsMgr ()

Protected Member Functions

BOOL LastError (LONG lResult)
BOOL LoadGroupsFromReg ()

Protected Attributes

HKEY m_hGroups
fs::list< fsDownloadGroupm_vGroups


Detailed Description

Definition at line 33 of file fsDownloads_GroupsMgr.h.


Constructor & Destructor Documentation

fsDownloads_GroupsMgr::fsDownloads_GroupsMgr (  ) 

Definition at line 22 of file fsDownloads_GroupsMgr.cpp.

References m_hGroups, and NULL.

fsDownloads_GroupsMgr::~fsDownloads_GroupsMgr (  )  [virtual]

Definition at line 27 of file fsDownloads_GroupsMgr.cpp.

References m_hGroups.


Member Function Documentation

void fsDownloads_GroupsMgr::SetGroupFolder ( int  iGrp,
LPCSTR  pszFldr 
)

Definition at line 262 of file fsDownloads_GroupsMgr.cpp.

References m_vGroups.

LPCSTR fsDownloads_GroupsMgr::GetGroupFolder ( int  iGrp  ) 

Definition at line 257 of file fsDownloads_GroupsMgr.cpp.

References m_vGroups.

void fsDownloads_GroupsMgr::CreateGroup ( fsDownloadGroup grp  ) 

Definition at line 239 of file fsDownloads_GroupsMgr.cpp.

References m_vGroups.

void fsDownloads_GroupsMgr::DeleteGroup ( LPCSTR  pszGroup  ) 

Definition at line 225 of file fsDownloads_GroupsMgr.cpp.

References FindGroupByName(), m_hGroups, and m_vGroups.

int fsDownloads_GroupsMgr::FindGroupByName ( LPCSTR  pszName  ) 

Definition at line 216 of file fsDownloads_GroupsMgr.cpp.

References fsStrCmpNC(), and m_vGroups.

Referenced by DeleteGroup(), and GetGroup().

int fsDownloads_GroupsMgr::FindGroupByExt ( LPCSTR  pszExt  ) 

Definition at line 204 of file fsDownloads_GroupsMgr.cpp.

References IsExtInExtsStr(), m_vGroups, and fsDownloadGroup::szExts.

LPCSTR fsDownloads_GroupsMgr::GetGroupName ( int  iGrp  ) 

Definition at line 252 of file fsDownloads_GroupsMgr.cpp.

References m_vGroups.

void fsDownloads_GroupsMgr::UpdateGroup ( int  iGrp,
fsDownloadGroup grp 
)

Definition at line 244 of file fsDownloads_GroupsMgr.cpp.

References m_hGroups, m_vGroups, and fsDownloadGroup::szName.

BOOL fsDownloads_GroupsMgr::GetGroup ( fsDownloadGroup pGroup,
int  iGroup 
)

int fsDownloads_GroupsMgr::GetCount (  ) 

Definition at line 191 of file fsDownloads_GroupsMgr.cpp.

References m_vGroups.

Referenced by GetGroup(), and vmsDownloadsGroupsMgr::LoadFromDisk().

BOOL fsDownloads_GroupsMgr::SaveGroups (  ) 

BOOL fsDownloads_GroupsMgr::LoadGroups (  ) 

BOOL fsDownloads_GroupsMgr::LastError ( LONG  lResult  )  [protected]

Definition at line 145 of file fsDownloads_GroupsMgr.cpp.

Referenced by LoadGroupsFromReg(), and SaveGroups().

BOOL fsDownloads_GroupsMgr::LoadGroupsFromReg (  )  [protected]


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:21:02 2008 by  doxygen 1.5.6