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