-
-
Notifications
You must be signed in to change notification settings - Fork 292
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3573d74
commit 403ba7a
Showing
31 changed files
with
523 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
emoji-facebook/src/iosMain/kotlin/com/vanniktech/emoji/facebook/FacebookEmojiProvider.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* Copyright (C) 2016 - Niklas Baudy, Ruben Gees, Mario Đanić and contributors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.vanniktech.emoji.facebook | ||
|
||
import com.vanniktech.emoji.EmojiCategory | ||
import com.vanniktech.emoji.EmojiProvider | ||
import com.vanniktech.emoji.facebook.category.ActivitiesCategory | ||
import com.vanniktech.emoji.facebook.category.AnimalsAndNatureCategory | ||
import com.vanniktech.emoji.facebook.category.FlagsCategory | ||
import com.vanniktech.emoji.facebook.category.FoodAndDrinkCategory | ||
import com.vanniktech.emoji.facebook.category.ObjectsCategory | ||
import com.vanniktech.emoji.facebook.category.SmileysAndPeopleCategory | ||
import com.vanniktech.emoji.facebook.category.SymbolsCategory | ||
import com.vanniktech.emoji.facebook.category.TravelAndPlacesCategory | ||
|
||
class FacebookEmojiProvider : EmojiProvider { | ||
override val categories: Array<EmojiCategory> | ||
get() = arrayOf( | ||
SmileysAndPeopleCategory(), | ||
AnimalsAndNatureCategory(), | ||
FoodAndDrinkCategory(), | ||
ActivitiesCategory(), | ||
TravelAndPlacesCategory(), | ||
ObjectsCategory(), | ||
SymbolsCategory(), | ||
FlagsCategory(), | ||
) | ||
|
||
override fun release() = Unit | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
...-compat/src/iosMain/kotlin/com/vanniktech/emoji/googlecompat/GoogleCompatEmojiProvider.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* Copyright (C) 2016 - Niklas Baudy, Ruben Gees, Mario Đanić and contributors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.vanniktech.emoji.googlecompat | ||
|
||
import com.vanniktech.emoji.EmojiCategory | ||
import com.vanniktech.emoji.EmojiProvider | ||
import com.vanniktech.emoji.googlecompat.category.ActivitiesCategory | ||
import com.vanniktech.emoji.googlecompat.category.AnimalsAndNatureCategory | ||
import com.vanniktech.emoji.googlecompat.category.FlagsCategory | ||
import com.vanniktech.emoji.googlecompat.category.FoodAndDrinkCategory | ||
import com.vanniktech.emoji.googlecompat.category.ObjectsCategory | ||
import com.vanniktech.emoji.googlecompat.category.SmileysAndPeopleCategory | ||
import com.vanniktech.emoji.googlecompat.category.SymbolsCategory | ||
import com.vanniktech.emoji.googlecompat.category.TravelAndPlacesCategory | ||
|
||
class GoogleCompatEmojiProvider : EmojiProvider { | ||
override val categories: Array<EmojiCategory> | ||
get() = arrayOf( | ||
SmileysAndPeopleCategory(), | ||
AnimalsAndNatureCategory(), | ||
FoodAndDrinkCategory(), | ||
ActivitiesCategory(), | ||
TravelAndPlacesCategory(), | ||
ObjectsCategory(), | ||
SymbolsCategory(), | ||
FlagsCategory(), | ||
) | ||
|
||
override fun release() = Unit | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
emoji-google/src/iosMain/kotlin/com/vanniktech/emoji/google/GoogleEmojiProvider.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
* Copyright (C) 2016 - Niklas Baudy, Ruben Gees, Mario Đanić and contributors | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.vanniktech.emoji.google | ||
|
||
import com.vanniktech.emoji.EmojiCategory | ||
import com.vanniktech.emoji.EmojiProvider | ||
import com.vanniktech.emoji.google.category.ActivitiesCategory | ||
import com.vanniktech.emoji.google.category.AnimalsAndNatureCategory | ||
import com.vanniktech.emoji.google.category.FlagsCategory | ||
import com.vanniktech.emoji.google.category.FoodAndDrinkCategory | ||
import com.vanniktech.emoji.google.category.ObjectsCategory | ||
import com.vanniktech.emoji.google.category.SmileysAndPeopleCategory | ||
import com.vanniktech.emoji.google.category.SymbolsCategory | ||
import com.vanniktech.emoji.google.category.TravelAndPlacesCategory | ||
|
||
class GoogleEmojiProvider : EmojiProvider { | ||
override val categories: Array<EmojiCategory> | ||
get() = arrayOf( | ||
SmileysAndPeopleCategory(), | ||
AnimalsAndNatureCategory(), | ||
FoodAndDrinkCategory(), | ||
ActivitiesCategory(), | ||
TravelAndPlacesCategory(), | ||
ObjectsCategory(), | ||
SymbolsCategory(), | ||
FlagsCategory(), | ||
) | ||
|
||
override fun release() = Unit | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.