⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resource.h

📁 html-->wml的转换,能实现html到wml的大量转换工作,但是存在些许缺陷,比如对于jpeg以及gif无法转换成wbmp格式
💻 H
字号:
// Copyright (c) 1994 James Clark// See the file COPYING for copying permission.#ifndef Resource_INCLUDED#define Resource_INCLUDED 1#ifdef SP_NAMESPACEnamespace SP_NAMESPACE {#endifclass SP_API Resource {public:  Resource();  Resource(const Resource &);  int unref();			// return 1 if it should be deleted  void ref();  int count() const;private:  int count_;};inlineResource::Resource(): count_(0){}inlineResource::Resource(const Resource &): count_(0){}inlineint Resource::count() const{  return count_;}inlineint Resource::unref(){  return --count_ <= 0;}inlinevoid Resource::ref(){  ++count_;}#ifdef SP_NAMESPACE}#endif#endif /* not Resource_INCLUDED */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -