From 5822ff1619fda7f0cc0b10f77d351eb459e3c67c Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Mon, 21 Jan 2013 12:54:06 +0000 Subject: 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. --- android/src/com/artifex/mupdfdemo/LinkInfoRemote.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 android/src/com/artifex/mupdfdemo/LinkInfoRemote.java (limited to 'android/src/com/artifex/mupdfdemo/LinkInfoRemote.java') 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); + } +} -- cgit v1.2.3