From d59cb2d72ff7a7819bf8ae747b2b2f985b6eb54a Mon Sep 17 00:00:00 2001 From: Jamie Doornbos Date: Tue, 10 Jan 2012 08:47:00 +0000 Subject: [PATCH] Actionscript versions of credentials nested interfaces. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6763 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../presents/net/Credentials_HasLanguage.as | 31 +++++++++++++++++++ .../net/Credentials_HasMachineIdent.as | 31 +++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 src/main/as/com/threerings/presents/net/Credentials_HasLanguage.as create mode 100644 src/main/as/com/threerings/presents/net/Credentials_HasMachineIdent.as diff --git a/src/main/as/com/threerings/presents/net/Credentials_HasLanguage.as b/src/main/as/com/threerings/presents/net/Credentials_HasLanguage.as new file mode 100644 index 000000000..906f0e71d --- /dev/null +++ b/src/main/as/com/threerings/presents/net/Credentials_HasLanguage.as @@ -0,0 +1,31 @@ +// +// $Id$ +// +// Narya library - tools for developing networked games +// Copyright (C) 2002-2012 Three Rings Design, Inc., All Rights Reserved +// http://code.google.com/p/narya/ +// +// This library is free software; you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License as published +// by the Free Software Foundation; either version 2.1 of the License, or +// (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +package com.threerings.presents.net { + +/** + * Implemented by credentials that provide a language. On the client this is just a marker + * interface, for now. + */ +public interface Credentials_HasLanguage +{ +} +} diff --git a/src/main/as/com/threerings/presents/net/Credentials_HasMachineIdent.as b/src/main/as/com/threerings/presents/net/Credentials_HasMachineIdent.as new file mode 100644 index 000000000..39a8381ac --- /dev/null +++ b/src/main/as/com/threerings/presents/net/Credentials_HasMachineIdent.as @@ -0,0 +1,31 @@ +// +// $Id$ +// +// Narya library - tools for developing networked games +// Copyright (C) 2002-2012 Three Rings Design, Inc., All Rights Reserved +// http://code.google.com/p/narya/ +// +// This library is free software; you can redistribute it and/or modify it +// under the terms of the GNU Lesser General Public License as published +// by the Free Software Foundation; either version 2.1 of the License, or +// (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +package com.threerings.presents.net { + +/** + * Implemented by credentials that provide a machine identifier. On the client this is just a + * marker interface, for now. + */ +public interface Credentials_HasMachineIdent +{ +} +}