Kaydet (Commit) 8da489aa authored tarafından Caolán McNamara's avatar Caolán McNamara

now we can ditch these unused methods

üst 8b028754
...@@ -91,16 +91,11 @@ public: ...@@ -91,16 +91,11 @@ public:
SalFrame* getStatusFrame() const; SalFrame* getStatusFrame() const;
void setStatusText( const String& rText ); void setStatusText( const String& rText );
String getStatusText() const;
enum ShowReason { focus, presentation, contextmap }; enum ShowReason { focus, presentation, contextmap };
void show( bool bShow, ShowReason eReason ); void show( bool bShow, ShowReason eReason );
const ::std::vector< ChoiceData >& getChoices() const { return m_aChoices; } const ::std::vector< ChoiceData >& getChoices() const { return m_aChoices; }
void clearChoices();
void addChoice( const String&, void* pData );
void toTop() const;
// for SwitchIMCallback // for SwitchIMCallback
void changeIM( const String& ); void changeIM( const String& );
......
...@@ -638,42 +638,6 @@ void I18NStatus::changeIM( const String& rIM ) ...@@ -638,42 +638,6 @@ void I18NStatus::changeIM( const String& rIM )
// -------------------------------------------------------------------------- // --------------------------------------------------------------------------
String I18NStatus::getStatusText() const
{
return m_pStatusWindow ? m_pStatusWindow->getText() : String();
}
// --------------------------------------------------------------------------
void I18NStatus::clearChoices()
{
m_aChoices.clear();
}
// --------------------------------------------------------------------------
void I18NStatus::addChoice( const String& rChoice, void* pData )
{
ChoiceData aData;
aData.pData = pData;
aData.aString = rChoice;
m_aChoices.push_back( aData );
}
// --------------------------------------------------------------------------
void I18NStatus::toTop() const
{
if( m_pStatusWindow )
{
const SystemEnvData* pData = m_pStatusWindow->GetSystemData();
XRaiseWindow( (Display*)pData->pDisplay,
(XLIB_Window)pData->aShellWindow );
}
}
// --------------------------------------------------------------------------
SalFrame* I18NStatus::getStatusFrame() const SalFrame* I18NStatus::getStatusFrame() const
{ {
SalFrame* pRet = NULL; SalFrame* pRet = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment