48 lines
2.3 KiB
C
48 lines
2.3 KiB
C
|
<EFBFBD><EFBFBD>//
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0
|
|||
|
//
|
|||
|
#ifndef __CPATHLIB_INCLUDED__
|
|||
|
#define __CPATHLIB_INCLUDED__
|
|||
|
|
|||
|
#define WIN32_LEAN_AND_MEAN
|
|||
|
#include <windows.h>
|
|||
|
#include <stdio.h>
|
|||
|
#include <stdlib.h>
|
|||
|
#include <shlobj.h>
|
|||
|
#include <shlwapi.h>
|
|||
|
|
|||
|
#include <string>
|
|||
|
using namespace std;
|
|||
|
|
|||
|
class CPathlib
|
|||
|
{
|
|||
|
public:
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD><EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0K0<EFBFBD>0n0<EFBFBD>0<EFBFBD>0<EFBFBD>S<EFBFBD>_
|
|||
|
static string SplitPath( LPCSTR lpszPath );
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD><EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0K0<EFBFBD>0n0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0
T<EFBFBD>S<EFBFBD>_(<EFBFBD>b5_P[j0W0)
|
|||
|
static string SplitFname( LPCSTR lpszPath );
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD><EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0K0<EFBFBD>0n0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0
T<EFBFBD>S<EFBFBD>_(<EFBFBD>b5_P[B0<EFBFBD>0)
|
|||
|
static string SplitFnameExt( LPCSTR lpszPath );
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD><EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0K0<EFBFBD>0n0<EFBFBD>b5_P[<EFBFBD>S<EFBFBD>_
|
|||
|
static string SplitExt( LPCSTR lpszPath );
|
|||
|
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD><EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0
TK0<EFBFBD>0n0<EFBFBD>0<EFBFBD>0\Ob(<EFBFBD>b5_P[B0<EFBFBD>0/j0W0qQ(u)
|
|||
|
static string MakePath( LPCSTR lpszPath, LPCSTR lpszFname );
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD><EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0
T<EFBFBD><EFBFBD>b5_P[K0<EFBFBD>0n0<EFBFBD>0<EFBFBD>0\Ob(<EFBFBD>b5_P[<EFBFBD>0%Rk0c<EFBFBD>[)
|
|||
|
static string MakePathExt( LPCSTR lpszPath, LPCSTR lpszFname, LPCSTR lpszExt );
|
|||
|
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0K0<EFBFBD>0<EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>0<EFBFBD>0n0.z^<EFBFBD><EFBFBD>0<EFBFBD><EFBFBD>y0f0<EFBFBD>0<EFBFBD>0<EFBFBD>0\ObY0<EFBFBD>0
|
|||
|
// <EFBFBD><EFBFBD><EFBFBD>R<EFBFBD>0<EFBFBD>0L0v}<EFBFBD>[<EFBFBD>0<EFBFBD>0j0<EFBFBD>0p0]0n0~0~0<EFBFBD><EFBFBD>v<EFBFBD>[<EFBFBD>0<EFBFBD>0j0<EFBFBD>0p0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0k0<EFBFBD><EFBFBD><EFBFBD>R
|
|||
|
static string CreatePath( LPCSTR lpszBasePath, LPCSTR lpszPath );
|
|||
|
|
|||
|
// <EFBFBD>0<EFBFBD>0<EFBFBD>0<EFBFBD>0x<EFBFBD><EFBFBD>b
|
|||
|
static BOOL SelectFolder( HWND hWnd, LPCSTR lpszTitle, LPSTR lpszFolder );
|
|||
|
|
|||
|
protected:
|
|||
|
static INT CALLBACK BffCallback( HWND hWnd, UINT uMsg, LPARAM lParam, WPARAM wParam );
|
|||
|
private:
|
|||
|
};
|
|||
|
|
|||
|
#endif // !__CPATHLIB_INCLUDED__
|
|||
|
|
|||
|
|