Click here to Skip to main content
15,892,839 members
Articles / Desktop Programming / MFC

A Java Language IDE

Rate me:
Please Sign up or sign in to vote.
4.33/5 (26 votes)
13 May 2004CPOL3 min read 80.6K   3.4K   41  
This is a partially implemented IDE for the Java platform.
//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This source code is a part of BCGControlBar library.
// You may use, compile or redistribute it as part of your application 
// for free. You cannot redistribute it as a part of a software development 
// library without the agreement of the author. If the sources are 
// distributed along with the application, you should leave the original 
// copyright notes in the source code without any changes.
// This code can be used WITHOUT ANY WARRANTIES on your own risk.
// 
// Stas Levin <stas@iet.co.il>
//*******************************************************************************

// ImageHash.h: interface for the CImageHash class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_IMAGEHASH_H__FBA4F684_D756_11D1_A64E_00A0C93A70EC__INCLUDED_)
#define AFX_IMAGEHASH_H__FBA4F684_D756_11D1_A64E_00A0C93A70EC__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#ifndef __AFXTEMPL_H__
	#include "afxtempl.h"
#endif

#include "bcgcontrolbar.h"

class BCGCONTROLBARDLLEXPORT CImageHash : public CObject  
{

public:
	CImageHash();
	virtual ~CImageHash();

	void Set (UINT uiCmd, int iImage, BOOL bUserImage);
	int Get (UINT uiCmd, BOOL bUserImage) const;
	void Clear (UINT uiCmd);
	void ClearAll ();

	static int GetImageOfCommand (UINT uiCmd, BOOL bUserImage);

protected:
	CMap<UINT, UINT, int, int>	m_StdImages;
	CMap<UINT, UINT, int, int>	m_UserImages;
};

extern CImageHash	g_ImageHash;

#endif // !defined(AFX_IMAGEHASH_H__FBA4F684_D756_11D1_A64E_00A0C93A70EC__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
biography? I am not that old yet.

Comments and Discussions