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.
36 lines
855 B
36 lines
855 B
//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================
|
|
|
|
#ifndef CLIPBOARDMANAGER_H
|
|
#define CLIPBOARDMANAGER_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "tier1/utlvector.h"
|
|
|
|
class KeyValues;
|
|
class IClipboardCleanup;
|
|
|
|
// Clipboard:
|
|
//
|
|
class CClipboardManager
|
|
{
|
|
public:
|
|
CClipboardManager();
|
|
~CClipboardManager();
|
|
|
|
void EmptyClipboard( bool bClearWindowsClipboard );
|
|
void SetClipboardData( CUtlVector< KeyValues * >& data, IClipboardCleanup *pfnOptionalCleanuFunction );
|
|
void AddToClipboardData( KeyValues *add );
|
|
void GetClipboardData( CUtlVector< KeyValues * >& data );
|
|
bool HasClipboardData() const;
|
|
private:
|
|
CUtlVector< KeyValues * > m_Data;
|
|
IClipboardCleanup *m_pfnCleanup;
|
|
};
|
|
|
|
#endif // CLIPBOARDMANAGER_H
|