Droping device support component; it isn't being used yet. Also hiding SIP button

This commit is contained in:
dougt%meer.net 2005-09-28 17:56:07 +00:00
Родитель d8e2256322
Коммит 31374408eb
4 изменённых файлов: 12 добавлений и 7 удалений

Просмотреть файл

@ -47,8 +47,10 @@
// Global variables
const static char* start_url = "chrome://minimo/content/minimo.xul";
//const static char* start_url = "http://www.meer.net/~dougt/test.html";
//const static char* start_url = "resource://gre/res/start.html";
//const static char* start_url = "resource://gre/res/1.html";
static NS_DEFINE_CID(kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID);
static NS_DEFINE_CID(kAppShellCID, NS_APPSHELL_CID);
@ -85,7 +87,6 @@ ApplicationObserver::ApplicationObserver(nsIAppShell* aAppShell)
os->AddObserver(this, "xul-window-visible", PR_FALSE);
os->AddObserver(this, "xpcom-loader", PR_FALSE);
}
ApplicationObserver::~ApplicationObserver()

Просмотреть файл

@ -30,4 +30,3 @@ softkey
phone
snav
ssr
devicesupport

Просмотреть файл

@ -30,4 +30,3 @@ SoftKeyBoardModule
nsPhoneSupportModule
SpatialNavigationModule
SSRModule
DeviceSupportModule

Просмотреть файл

@ -205,9 +205,12 @@ nsSoftKeyBoard::OpenSIP()
#ifdef WINCE
HWND hWndSIP = ::FindWindow( _T( "SipWndClass" ), NULL );
if (hWndSIP)
{
::ShowWindow( hWndSIP, SW_SHOW);
}
hWndSIP = ::FindWindow( _T( "MS_SIPBUTTON" ), NULL );
if (hWndSIP)
::ShowWindow( hWndSIP, SW_SHOW);
SHSipPreference(NULL, SIP_UP);
#endif
}
@ -218,9 +221,12 @@ nsSoftKeyBoard::CloseSIP()
#ifdef WINCE
HWND hWndSIP = ::FindWindow( _T( "SipWndClass" ), NULL );
if (hWndSIP)
{
::ShowWindow( hWndSIP, SW_HIDE );
}
hWndSIP = ::FindWindow( _T( "MS_SIPBUTTON" ), NULL );
if (hWndSIP)
::ShowWindow( hWndSIP, SW_HIDE );
SHSipPreference(NULL, SIP_DOWN);
#endif
}