摘要: 为了使用简单,需要先写一个单件类,头文件的代码如下:其中静态方法Instance保证IconHelper的实例全局唯一(注意构造函数已经私有化了)#ifndefICONHELPER_H#defineICONHELPER_H#include#include#include#include#includ... 阅读全文
posted @ 2014-06-19 20:36 liulun 阅读(7712) 评论(5) 推荐(2) 编辑