<commit_before>#pragma once

#include "ISymbol.h"
#include "Image.h"

namespace d2d
{
	class Image;

	class ImageSymbol : public ISymbol
	{
	public:
		ImageSymbol();
		virtual ~ImageSymbol();

		//
		// IObject interface
		//	
		virtual ImageSymbol* clone() const;

		//
		// ISerializable interface
		//
		virtual void loadFromTextFile(std::ifstream& fin);
		virtual void storeToTextFile(std::ofstream& fout) const;

		//
		// ISymbol interface
		//
		virtual void reloadTexture() const;
		virtual void draw(const ISprite* sprite = NULL) const;
		virtual Rect getSize(const ISprite* sprite = NULL) const;

		unsigned int getTextureID() const;

		Image* getImage() { return m_image; }

	protected:
		virtual void loadResources();

	protected:
		Image* m_image;

	}; // ImageSymbol
}

<commit_msg>去掉ImageSymbol不用的接口<commit_after>#pragma once

#include "ISymbol.h"
#include "Image.h"

namespace d2d
{
	class Image;

	class ImageSymbol : public ISymbol
	{
	public:
		ImageSymbol();
		virtual ~ImageSymbol();

		//
		// IObject interface
		//	
		virtual ImageSymbol* clone() const;

		//
		// ISerializable interface
		//
		virtual void loadFromTextFile(std::ifstream& fin);
		virtual void storeToTextFile(std::ofstream& fout) const;

		//
		// ISymbol interface
		//
		virtual void reloadTexture() const;
		virtual void draw(const ISprite* sprite = NULL) const;
		virtual Rect getSize(const ISprite* sprite = NULL) const;

		unsigned int getTextureID() const;

//		Image* getImage() { return m_image; }

	protected:
		virtual void loadResources();

	protected:
		Image* m_image;

	}; // ImageSymbol
}


{'fraction_non_alphanumeric': 0.11632270168855535, 'fraction_numerical': 0.0012507817385866166, 'mean_word_length': 3.5584045584045585, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6608357', 'n_tokens_mistral': 580, 'n_tokens_neox': 519, 'n_words': 142}