1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
| #pragma once
| #include <GdiPlus.h>
| #include "string\tstring.h"
|
| namespace SOUI
| {
| SStringW GenGuid();
| SStringW XMLEscape(SStringW& strXml);
| int GetCodecInfo(const WCHAR* format, Gdiplus::ImageCodecInfo* p);
| int GetEncoderClsid(const WCHAR* format, CLSID* pClsid);
| SStringW GetTempPath();
| double GetZoomRatio(SIZE normalSize, SIZE maxSize);
| }
|
| #define SUBSCRIBE(x,y,z) (x)->GetEventSet()->subscribeEvent(y,Subscriber(&z,this))
|
| #define UNSUBSCRIBE(x,y,z) (x)->GetEventSet()->unsubscribeEvent(y,Subscriber(&z,this))
|
|