chxavstring.cpp

来自「symbian 下的helix player源代码」· C++ 代码 · 共 51 行

CPP
51
字号
/************************************************************************
 * chxavstring.cpp
 * ---------------
 *
 * Synopsis:
 * Contains the implementation of the CHXAvString class.  Useful class
 * that cleans itself from the stack and that loads resource strings.
 *
 * Target:
 * Symbian OS
 *
 *
 * (c) 1995-2003 RealNetworks, Inc. Patents pending. All rights reserved.
 *
 *****************************************************************************/

// Symbian includes...
#include <aknpopup.h>
#include <akntitle.h>
#include <eikenv.h>
#include <coemain.h>

// Helix includes...
#include "hxassert.h"
#include "hxstring.h"

// Includes from this project...
#include "chxavstring.h"


// Class implementation...


/*
 * CHXAvString
 * -----------
 * Ctor.  Takes a res id and loads the string.
 *
 */
CHXAvString::CHXAvString(TInt resId)
{
    m_pText = CEikonEnv::Static()->AllocReadResourceLC(resId);
}



   

#endif // _chxavstring_h_

⌨️ 快捷键说明

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