filepath.h

来自「用bcg库编写的java IDE 源码」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef __FILEPATH_H__
#define __FILEPATH_H__

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//////////////////////////////////////////////////////////////////////
#include "editlibExp.h"
class EDITPADC_CLASS CFilePath
  {
  public:
    CFilePath (LPCTSTR pszPath) : m_sPath (pszPath), m_nCount (1) {}
    ~CFilePath () {}
    LPCTSTR GetPath () const { return m_sPath; }
    int GetCount () const { return m_nCount; }
    void Inc () { m_nCount++; }
    void Dec () { m_nCount--; }
  protected:
    CString m_sPath;
    int m_nCount;
  };

//////////////////////////////////////////////////////////////////////

#endif // __FILEPATH_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?