PidlManager.h

Go to the documentation of this file.
00001 /*  Declaration of the PIDL manager superclass
00002 
00003     Copyright (C) 2007  Alexander Lamaison <awl03@doc.ic.ac.uk>
00004 
00005     This program is free software; you can redistribute it and/or modify
00006     it under the terms of the GNU General Public License as published by
00007     the Free Software Foundation; either version 2 of the License, or
00008     (at your option) any later version.
00009 
00010     This program is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013     GNU General Public License for more details.
00014 
00015     You should have received a copy of the GNU General Public License along
00016     with this program; if not, write to the Free Software Foundation, Inc.,
00017     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
00018 */
00019 
00020 #ifndef PIDLMANAGER_H
00021 #define PIDLMANAGER_H
00022 
00023 #if _MSC_VER > 1000
00024 #pragma once
00025 #endif // _MSC_VER > 1000
00026 
00027 #include <string.h>
00028 #include "remotelimits.h"
00029 
00030 class CPidlManager  
00031 {
00032 public:
00033         CPidlManager();
00034         virtual ~CPidlManager();
00035 
00036    LPITEMIDLIST Copy( LPCITEMIDLIST );
00037    void Delete( LPITEMIDLIST );
00038    UINT GetSize( LPCITEMIDLIST );
00039 
00040    LPITEMIDLIST GetNextItem( LPCITEMIDLIST );
00041    LPITEMIDLIST GetLastItem( LPCITEMIDLIST );
00042 
00043 protected:
00044         PITEMID_CHILD GetDataSegment( LPCITEMIDLIST pidl );
00045         HRESULT CopyWSZString( PWSTR pwszDest, USHORT cchDest, PCWSTR pwszSrc );
00046 };
00047 
00048 #endif // PIDLMANAGER_H

Generated on Mon Nov 12 22:43:53 2007 for Swish by  doxygen 1.5.3