2009-08-18 12:05:15 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/* vim: set sw=4 ts=8 et tw=80 : */
|
|
|
|
|
2009-06-30 13:39:22 -07:00
|
|
|
#ifndef mozilla_tabs_TabTypes_h
|
|
|
|
#define mozilla_tabs_TabTypes_h
|
|
|
|
|
2009-07-07 09:26:49 -07:00
|
|
|
#include "base/basictypes.h"
|
|
|
|
|
2009-06-30 13:39:22 -07:00
|
|
|
#ifdef XP_WIN
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
typedef HWND MagicWindowHandle;
|
|
|
|
#elif defined(MOZ_WIDGET_GTK2)
|
|
|
|
#include <X11/X.h>
|
|
|
|
|
|
|
|
typedef XID MagicWindowHandle;
|
2009-11-10 18:25:10 -08:00
|
|
|
|
2010-02-04 08:00:52 -08:00
|
|
|
#elif defined(MOZ_WIDGET_QT)
|
|
|
|
|
|
|
|
typedef unsigned long MagicWindowHandle;
|
|
|
|
|
2009-11-10 18:25:10 -08:00
|
|
|
#elif defined(XP_MACOSX)
|
|
|
|
# warning This is a placeholder
|
|
|
|
typedef long MagicWindowHandle;
|
|
|
|
|
2010-06-25 13:29:43 -07:00
|
|
|
#elif defined(ANDROID)
|
|
|
|
/* we don't really use this */
|
|
|
|
typedef unsigned long MagicWindowHandle;
|
|
|
|
|
2009-06-30 13:39:22 -07:00
|
|
|
#else
|
|
|
|
#error Not implemented, stooge
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|