Leaked source code of windows server 2003
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.
 
 
 
 
 
 

52 lines
1.2 KiB

//-----------------------------------------------------------------------------
//
// 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