使用soui开发的mbc,只支持windows版本
w1146869587
2022-01-24 0408576e9da10015ffa9da0079b8c985113ce4b3
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))