|
#if !defined(AFX_TAGONEFILEMGR_H__C1AC212C_8ABF_11D1_B145_000000000000__INCLUDED_)
#define AFX_TAGONEFILEMGR_H__C1AC212C_8ABF_11D1_B145_000000000000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TagsOfFileMgr.h : header file
// COPYRIGHT (C) 1999-2000 by Mike Melnikov zmike@andnow.ru
//
#include "SortMgr.h"
enum {
COL_KIND_TAG = 0,
COL_LINE_TAG,
COL_TAG_TAG,
COL_CODE_TAG,
};
/////////////////////////////////////////////////////////////////////////////
// CTagsOfFileMgr dialog
class CTagsOfFileMgr : public CSortMgr
{
public:
CTagsOfFileMgr(){avalibleCommands=AutoClose|SelectAll;}
protected:
void addInTree(ClassItem& item,int kind);
void addItems(TagVector& vect,CString name,int kind);
void addItem(string file,int kind,CString name,int line);
virtual CString getName() {return "FileTags Manager";}
virtual void OnInit();
virtual void FillList();
virtual int Sort(LPARAM lParam1, LPARAM lParam2);
virtual void OnSelect(CMListCtrl& ctrl);
virtual void onDestroy();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TAGONEFILEMGR_H__C1AC212C_8ABF_11D1_B145_000000000000__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Mike has been programming in C/C++ for 11 years and Visual C++/MFC for 4 years. His background includes pure and applied mathematics, engineering and physics, and he is currently based in Moscow, Russia.