From 8b2c065dfc16c148e2829a19e83d2269b9bcd4cc Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 12 Aug 2009 17:54:11 -0700 Subject: Implement reflecting Java objects into the ACC enviroment. --- rsComponent.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'rsComponent.h') diff --git a/rsComponent.h b/rsComponent.h index 9db107fc..5ee95c71 100644 --- a/rsComponent.h +++ b/rsComponent.h @@ -44,7 +44,7 @@ public: }; - Component(DataKind dk, DataType dt, bool isNormalized, uint32_t bits); + Component(DataKind dk, DataType dt, bool isNorm, uint32_t bits, const char *); virtual ~Component(); DataType getType() const {return mType;} @@ -54,12 +54,15 @@ public: uint32_t getGLType() const; + const char * getComponentName() const {return mName.string();} + protected: DataType mType; bool mIsNormalized; DataKind mKind; uint32_t mBits; + String8 mName; private: Component(); -- cgit v1.2.3