2008-04-19 15:37:34 +00:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
|
|
|
/* vim:expandtab:shiftwidth=4:tabstop=4:
|
|
|
|
*/
|
2012-05-21 11:12:37 +00: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 15:37:34 +00:00
|
|
|
|
|
|
|
#ifndef __nsQtKeyUtils_h__
|
|
|
|
#define __nsQtKeyUtils_h__
|
|
|
|
|
2013-09-24 10:04:14 +00:00
|
|
|
#include "mozilla/EventForwards.h"
|
2013-04-24 03:49:48 +00:00
|
|
|
|
2008-04-19 15:37:34 +00:00
|
|
|
int QtKeyCodeToDOMKeyCode (int aKeysym);
|
|
|
|
int DOMKeyCodeToQtKeyCode (int aKeysym);
|
|
|
|
|
2013-09-14 02:39:41 +00:00
|
|
|
mozilla::KeyNameIndex QtKeyCodeToDOMKeyNameIndex(int aKeysym);
|
2014-05-25 02:09:00 +00:00
|
|
|
mozilla::CodeNameIndex ScanCodeToDOMCodeNameIndex(int32_t aScanCode);
|
2013-04-24 03:49:48 +00:00
|
|
|
|
2008-04-19 15:37:34 +00:00
|
|
|
#endif /* __nsQtKeyUtils_h__ */
|