mirror of
https://github.com/gsantner/dandelion
synced 2025-09-09 18:29:47 +02:00
Rework screenshot saving and sharing; add new share options:
* Share option: Launcher shortcut (fixes #170) * Share option: Copy link of current page to clipboard * Share otpion: Export as PDF / print
This commit is contained in:
parent
d53128e5cb
commit
51093e0c3d
35 changed files with 1222 additions and 138 deletions
34
app/src/main/java/net/gsantner/opoc/util/Callback.java
Normal file
34
app/src/main/java/net/gsantner/opoc/util/Callback.java
Normal file
|
@ -0,0 +1,34 @@
|
|||
/*#######################################################
|
||||
*
|
||||
* Maintained by Gregor Santner, 2018-
|
||||
* https://gsantner.net/
|
||||
*
|
||||
* License: Apache 2.0
|
||||
* https://github.com/gsantner/opoc/#licensing
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
#########################################################*/
|
||||
package net.gsantner.opoc.util;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
public class Callback {
|
||||
public interface a1<A> {
|
||||
void callback(A arg1);
|
||||
}
|
||||
|
||||
public interface a2<A, B> {
|
||||
void callback(A arg1, B arg2);
|
||||
}
|
||||
|
||||
public interface a3<A, B, C> {
|
||||
void callback(A arg1, B arg2, C arg3);
|
||||
}
|
||||
|
||||
public interface a4<A, B, C, D> {
|
||||
void callback(A arg1, B arg2, C arg3, D arg4);
|
||||
}
|
||||
|
||||
public interface a5<A, B, C, D, E> {
|
||||
void callback(A arg1, B arg2, C arg3, D arg4, E arg5);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue