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-09-24 03:04:14 -07:00
|
|
|
#include "mozilla/EventForwards.h"
|
2013-04-23 20:49:48 -07:00
|
|
|
|
2008-04-19 08:37:34 -07:00
|
|
|
int QtKeyCodeToDOMKeyCode (int aKeysym);
|
|
|
|
int DOMKeyCodeToQtKeyCode (int aKeysym);
|
|
|
|
|
2013-09-13 19:39:41 -07:00
|
|
|
mozilla::KeyNameIndex QtKeyCodeToDOMKeyNameIndex(int aKeysym);
|
2013-04-23 20:49:48 -07:00
|
|
|
|
2008-04-19 08:37:34 -07:00
|
|
|
#endif /* __nsQtKeyUtils_h__ */
|