You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.1 KiB
54 lines
1.1 KiB
/*++
|
|
|
|
Copyright (C) 1996-1999 Microsoft Corporation
|
|
|
|
Module Name:
|
|
|
|
CONTEXT.H
|
|
|
|
History:
|
|
|
|
--*/
|
|
|
|
#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
|