update for HEAD-2003091401
[reactos.git] / subsys / system / explorer / Seashell / SeaShellExt / Include / ShellDetails.h
1 //*******************************************************************************
2 // COPYRIGHT NOTES
3 // ---------------
4 // You may use this source code, compile or redistribute it as part of your application 
5 // for free. You cannot redistribute it as a part of a software development 
6 // library without the agreement of the author. If the sources are 
7 // distributed along with the application, you should leave the original 
8 // copyright notes in the source code without any changes.
9 // This code can be used WITHOUT ANY WARRANTIES at your own risk.
10 // 
11 // For the latest updates to this code, check this site:
12 // http://www.masmex.com 
13 // after Sept 2000
14 // 
15 // Copyright(C) 2000 Philip Oldaker <email: philip@masmex.com>
16 //*******************************************************************************
17
18 #ifndef __SHELLDETAILS_H__
19 #define __SHELLDETAILS_H__
20
21 ////////////////////////////////////////////////
22 // CShellDetails
23 ////////////////////////////////////////////////
24 class CShellDetails
25 {
26 public:
27         CShellDetails(const CShellDetails &rOther);
28         const CShellDetails &operator=(const CShellDetails &rOther);
29     CShellDetails();
30     virtual ~CShellDetails();
31 // Attributes
32         void SetShellDetails(IUnknown *pUnk);
33         bool IsValidDetails();
34 // Operations
35         HRESULT GetDetailsOf(LPCITEMIDLIST pidl,UINT iColumn,LPSHELLDETAILS pDetail);
36 protected:
37         void FreeInterfaces();
38 private:
39     IUnknown *m_pUnk;
40 };
41
42
43 #endif //__SHELLDETAILS_H__