53 lines
1.2 KiB
C
53 lines
1.2 KiB
C
|
//-----------------------------------------------------------------------------
|
||
|
//
|
||
|
// File: context.h
|
||
|
// Copyright (C) 1994-1997 Microsoft Corporation
|
||
|
// All rights reserved.
|
||
|
//
|
||
|
//
|
||
|
//
|
||
|
//-----------------------------------------------------------------------------
|
||
|
|
||
|
#ifndef ESPUTIL_CONTEXT_H
|
||
|
#define ESPUTIL_CONTEXT_H
|
||
|
|
||
|
|
||
|
|
||
|
//
|
||
|
// This class should NOT be used as a base class.
|
||
|
//
|
||
|
class LTAPIENTRY CContext
|
||
|
{
|
||
|
public:
|
||
|
CContext();
|
||
|
CContext(const CContext &);
|
||
|
CContext(const CLString &);
|
||
|
CContext(HINSTANCE, UINT uiStringId);
|
||
|
CContext(const CLString &, const CLocation &);
|
||
|
CContext(HINSTANCE, UINT uiStringId, const CLocation &);
|
||
|
CContext(const CLString &, const DBID &, ObjectType, View,
|
||
|
TabId = NullTabId, Component = cmpNone);
|
||
|
CContext(HINSTANCE, UINT uiStringID, const DBID &, ObjectType, View,
|
||
|
TabId = NullTabId, Component = cmpNone);
|
||
|
|
||
|
void AssertValid(void) const;
|
||
|
|
||
|
const CContext &operator=(const CContext &);
|
||
|
|
||
|
const CLString &GetContext(void) const;
|
||
|
const CLocation &GetLocation(void) const;
|
||
|
|
||
|
BOOL operator==(const CContext &);
|
||
|
|
||
|
private:
|
||
|
|
||
|
CLString m_strContext;
|
||
|
CLocation m_loc;
|
||
|
};
|
||
|
|
||
|
#if !defined(_DEBUG) || defined(IMPLEMENT)
|
||
|
#include "context.inl"
|
||
|
#endif
|
||
|
|
||
|
#endif
|