diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-01-21 12:54:06 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-01-21 16:43:19 +0000 |
commit | 5822ff1619fda7f0cc0b10f77d351eb459e3c67c (patch) | |
tree | bde594a8cd36b72bc7c698ab3eec3861a1802b9f /android/src/com/artifex/mupdfdemo/LinkInfoRemote.java | |
parent | 18d50b1c3ddfef1b08059a3fc898dad0fb98d6a7 (diff) | |
download | mupdf-5822ff1619fda7f0cc0b10f77d351eb459e3c67c.tar.xz |
Rename app.
Due to a clash on Google Play, we need to rename the apps main
class from com.artifex.mupdf to something else. We choose
com.artifex.mupdfdemo. Any user of the code in their own app
should rename it similarly. To simplify this process we add
some macros in the C.
Various renames and lots of tedious package name editing is still
required in the Java though.
Diffstat (limited to 'android/src/com/artifex/mupdfdemo/LinkInfoRemote.java')
-rw-r--r-- | android/src/com/artifex/mupdfdemo/LinkInfoRemote.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/android/src/com/artifex/mupdfdemo/LinkInfoRemote.java b/android/src/com/artifex/mupdfdemo/LinkInfoRemote.java new file mode 100644 index 00000000..731e6408 --- /dev/null +++ b/android/src/com/artifex/mupdfdemo/LinkInfoRemote.java @@ -0,0 +1,18 @@ +package com.artifex.mupdfdemo; + +public class LinkInfoRemote extends LinkInfo { + final public String fileSpec; + final public int pageNumber; + final public boolean newWindow; + + public LinkInfoRemote(float l, float t, float r, float b, String f, int p, boolean n) { + super(l, t, r, b); + fileSpec = f; + pageNumber = p; + newWindow = n; + } + + public void acceptVisitor(LinkInfoVisitor visitor) { + visitor.visitRemote(this); + } +} |