fake.cpp
来自「mpeg4编解码器」· C++ 代码 · 共 34 行
CPP
34 行
/******************************************************** * Some code. Copyright (C) 2003 by Pascal Massimino. * * All Rights Reserved. (http://skal.planet-d.net) * * For Educational/Academic use ONLY. See 'LICENSE.TXT'.* ********************************************************//* * fake.cpp * * Test object for dynamic loading of objects. * tested in test_dyn.cpp * This can serve as a template for building a * dynamicaly-loaded class. ********************************************************/#include "skl.h"#include "skl_syst/skl_dyn_load.h"#include "./fake.h"//////////////////////////////////////////////////////////int FAKE::Print() const { static int Cnt = 7349; printf("hello world!\n"); return Cnt++;}FAKE::~FAKE() {}//////////////////////////////////////////////////////////// -- external symbol exportedSKL_DFLT_DYN_FACTORY(FAKE); //////////////////////////////////////////////////////////
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?