2008-04-19 08:37:34 -07:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/* vim:expandtab:shiftwidth=4:tabstop=4:
|
|
|
|
*/
|
2012-05-21 04:12:37 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2008-04-19 08:37:34 -07:00
|
|
|
|
|
|
|
#ifndef __nsQtKeyUtils_h__
|
|
|
|
#define __nsQtKeyUtils_h__
|
|
|
|
|
2013-04-23 20:49:48 -07:00
|
|
|
#include "nsEvent.h"
|
|
|
|
|
2008-04-19 08:37:34 -07:00
|
|
|
int QtKeyCodeToDOMKeyCode (int aKeysym);
|
|
|
|
int DOMKeyCodeToQtKeyCode (int aKeysym);
|
|
|
|
|
2013-04-23 20:49:48 -07:00
|
|
|
mozilla::widget::KeyNameIndex QtKeyCodeToDOMKeyNameIndex(int aKeysym);
|
|
|
|
|
2008-04-19 08:37:34 -07:00
|
|
|
#endif /* __nsQtKeyUtils_h__ */
|