MacJawt.mm revision 3ac4cd918f9ffed59c4cc988665d1e09c5d7304a
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki/* ***** BEGIN LICENSE BLOCK *****
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * Version: MPL 1.1/GPL 2.0/LGPL 2.1
1fc594205bd58583a2660536729eb684f5cb7932nd * The contents of this file are subject to the Mozilla Public License Version
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * 1.1 (the "License"); you may not use this file except in compliance with
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * the License. You may obtain a copy of the License at
031b91a62d25106ae69d4693475c79618dd5e884fielding * Software distributed under the License is distributed on an "AS IS" basis,
031b91a62d25106ae69d4693475c79618dd5e884fielding * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
031b91a62d25106ae69d4693475c79618dd5e884fielding * for the specific language governing rights and limitations under the
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * The Original Code is Java XPCOM Bindings.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * The Initial Developer of the Original Code is IBM Corporation.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * Portions created by the Initial Developer are Copyright (C) 2006
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * IBM Corporation. All Rights Reserved.
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * Contributor(s):
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * Javier Pedemonte (jhpedemonte@gmail.com)
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * Alternatively, the contents of this file may be used under the terms of
d5d794fc2f4cc9ca6d6da17cfa2cdcd8d244bacdnd * either the GNU General Public License Version 2 or later (the "GPL"), or
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * in which case the provisions of the GPL or the LGPL are applicable instead
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * of those above. If you wish to allow use of your version of this file only
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * under the terms of either the GPL or the LGPL, and not to allow others to
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * use your version of this file under the terms of the MPL, indicate your
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * decision by deleting the provisions above and replace them with the notice
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * and other provisions required by the GPL or the LGPL. If you do not delete
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * the provisions above, a recipient may use your version of this file under
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * the terms of any one of the MPL, the GPL or the LGPL.
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki * ***** END LICENSE BLOCK ***** */
e50dced6f51b101fcf63e1b51ebf771287870107yoshikiPRUint64 GetPlatformHandle(JAWT_DrawingSurfaceInfo* dsi)
e50dced6f51b101fcf63e1b51ebf771287870107yoshiki static_cast<JAWT_MacOSXDrawingSurfaceInfo*> (dsi->platformInfo);