diff options
| author | Teddy Wing | 2018-11-22 04:31:13 +0100 |
|---|---|---|
| committer | Teddy Wing | 2018-11-22 04:31:13 +0100 |
| commit | 1c1958c40b62c02032ff8b41c6ad38563bb27617 (patch) | |
| tree | afe749042cf771785dbcb69916148530b7f89efd /src/key_code.rs | |
| parent | d608a23da62c9a93c01802997f1204fd494eb97d (diff) | |
| download | dome-key-map-1c1958c40b62c02032ff8b41c6ad38563bb27617.tar.bz2 | |
Add license
Diffstat (limited to 'src/key_code.rs')
| -rw-r--r-- | src/key_code.rs | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/key_code.rs b/src/key_code.rs index 47e7a01..132e8af 100644 --- a/src/key_code.rs +++ b/src/key_code.rs @@ -1,3 +1,46 @@ +// Copyright (c) 2018 Teddy Wing +// +// This file is part of DomeKey. +// +// *Purchasing policy notice:* All users of the software are expected to +// purchase a license from Teddy Wing unless they have a good reason not to +// pay. Users who can't purchase a license may apply to receive one for free +// at inquiry@domekey.teddywing.com. Users are free to: +// +// * download, build, and modify the app; +// * share the modified source code; +// * share the purchased or custom-built binaries (with unmodified license +// and contact info), provided that the purchasing policy is explained to +// all potential users. +// +// This software is available under a modified version of the Open Community +// Indie Software License: +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose is hereby granted, subject to the following conditions: +// +// * all copies retain the above copyright notice, the above purchasing +// policy notice and this permission notice unmodified; +// +// * all copies retain the name of the software (DomeKey), the name of the +// author (Teddy Wing), and contact information (including, but not limited +// to, inquiry@domekey.teddywing.com, and domekey.teddywing.com URLs) +// unmodified; +// +// * no fee is charged for distribution of the software; +// +// * the best effort is made to explain the purchasing policy to all users of +// the software. +// +// THE SOFTWARE IS PROVIDED "AS IS", AND THE AUTHOR AND COPYRIGHT HOLDERS +// DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, WITH REGARD TO THIS SOFTWARE, +// INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +// A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY +// DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA, OR PROFITS, WHETHER +// IN AN ACTION OF CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING +// OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + use core_graphics::event::CGEventFlags; #[link(name="dome_key_event_source_simulator", kind="static")] |
