1 // Formatter.h: interface for the CFormatter class.
3 //////////////////////////////////////////////////////////////////////
5 #if !defined(AFX_FORMATTER_H__A5506F2B_A8AC_4232_A73E_3892242D51E3__INCLUDED_)
6 #define AFX_FORMATTER_H__A5506F2B_A8AC_4232_A73E_3892242D51E3__INCLUDED_
10 #endif // _MSC_VER > 1000
13 #include <SSLib\SSItem.h>
14 #include <SSLib\SSDatabase.h>
16 //////////////////////////////////////////////////////////////////////
20 virtual int DoWhoAmI (const COptions
& options
) = 0;
21 virtual int DoProject (const SSDatabase
& database
, const COptions
& options
) = 0;
23 virtual int DoDirectory (const SSItemPtr pItem
, const COptions
& options
) = 0;
24 virtual int DoProperties (const SSItemPtr pItem
, const COptions
& options
) = 0;
25 virtual int DoFiletype (const SSItemPtr pItem
, const COptions
& options
) = 0;
26 virtual int DoHistory (const SSItemPtr pItem
, const COptions
& options
) = 0;
32 //////////////////////////////////////////////////////////////////////
33 class CVssFormatterFactory
36 static IFormatter
* MakeFormatter ();
39 #endif // !defined(AFX_FORMATTER_H__A5506F2B_A8AC_4232_A73E_3892242D51E3__INCLUDED_)