Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
PublicAndroidApps
Nebulo
Commits
525da936
Commit
525da936
authored
Jan 07, 2019
by
Daniel Wolf
Browse files
Applied GPLv3 License
parent
43aec099
Changes
51
Expand all
Hide whitespace changes
Inline
Side-by-side
.idea/codeStyles/Project.xml
View file @
525da936
...
...
@@ -55,30 +55,6 @@
<pair
source=
"c"
header=
"h"
fileNamingConvention=
"NONE"
/>
</extensions>
</Objective-C-extensions>
<DBN-PSQL>
<case-options
enabled=
"false"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
<option
name=
"FUNCTION_CASE"
value=
"lower"
/>
<option
name=
"PARAMETER_CASE"
value=
"lower"
/>
<option
name=
"DATATYPE_CASE"
value=
"lower"
/>
<option
name=
"OBJECT_CASE"
value=
"preserve"
/>
</case-options>
<formatting-settings
enabled=
"false"
/>
</DBN-PSQL>
<DBN-SQL>
<case-options
enabled=
"false"
>
<option
name=
"KEYWORD_CASE"
value=
"lower"
/>
<option
name=
"FUNCTION_CASE"
value=
"lower"
/>
<option
name=
"PARAMETER_CASE"
value=
"lower"
/>
<option
name=
"DATATYPE_CASE"
value=
"lower"
/>
<option
name=
"OBJECT_CASE"
value=
"preserve"
/>
</case-options>
<formatting-settings
enabled=
"false"
>
<option
name=
"STATEMENT_SPACING"
value=
"one_line"
/>
<option
name=
"CLAUSE_CHOP_DOWN"
value=
"chop_down_if_statement_long"
/>
<option
name=
"ITERATION_ELEMENTS_WRAPPING"
value=
"chop_down_if_not_single"
/>
</formatting-settings>
</DBN-SQL>
<codeStyleSettings
language=
"kotlin"
>
<option
name=
"CODE_STYLE_DEFAULTS"
value=
"KOTLIN_OFFICIAL"
/>
</codeStyleSettings>
...
...
.idea/misc.xml
View file @
525da936
...
...
@@ -29,7 +29,7 @@
</value>
</option>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
7
"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<component
name=
"ProjectRootManager"
version=
"2"
languageLevel=
"JDK_1_
8
"
project-jdk-name=
"1.8"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/build/classes"
/>
</component>
<component
name=
"ProjectType"
>
...
...
LICENSE
0 → 100644
View file @
525da936
This diff is collapsed.
Click to expand it.
app/src/main/java/com/frostnerd/smokescreen/Extensions.kt
View file @
525da936
...
...
@@ -18,14 +18,23 @@ import com.frostnerd.smokescreen.util.preferences.fromSharedPreferences
import
kotlin.contracts.ExperimentalContracts
import
kotlin.contracts.contract
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
fun
Context
.
registerReceiver
(
intentFilter
:
IntentFilter
,
receiver
:
(
intent
:
Intent
?)
->
Unit
):
BroadcastReceiver
{
...
...
app/src/main/java/com/frostnerd/smokescreen/Globals.kt
View file @
525da936
...
...
@@ -9,14 +9,23 @@ import android.text.util.Linkify
import
android.widget.TextView
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
fun
showInfoTextDialog
(
context
:
Context
,
title
:
String
,
text
:
String
):
androidx
.
appcompat
.
app
.
AlertDialog
{
...
...
app/src/main/java/com/frostnerd/smokescreen/Logger.kt
View file @
525da936
...
...
@@ -11,14 +11,23 @@ import java.util.*
import
java.util.zip.ZipEntry
import
java.util.zip.ZipOutputStream
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
...
...
app/src/main/java/com/frostnerd/smokescreen/SmokeScreen.kt
View file @
525da936
...
...
@@ -5,14 +5,23 @@ import android.content.Intent
import
com.frostnerd.smokescreen.activity.ErrorDialogActivity
import
kotlin.system.exitProcess
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
SmokeScreen
:
Application
()
{
private
var
defaultUncaughtExceptionHandler
:
Thread
.
UncaughtExceptionHandler
?
=
null
...
...
app/src/main/java/com/frostnerd/smokescreen/activity/BackgroundVpnConfigureActivity.kt
View file @
525da936
...
...
@@ -11,14 +11,23 @@ import com.frostnerd.smokescreen.R
import
com.frostnerd.smokescreen.getPreferences
import
com.frostnerd.smokescreen.service.DnsVpnService
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
* <p>
* development@frostnerd.com
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
BackgroundVpnConfigureActivity
:
BaseActivity
()
{
...
...
app/src/main/java/com/frostnerd/smokescreen/activity/ErrorDialogActivity.kt
View file @
525da936
...
...
@@ -6,14 +6,23 @@ import androidx.appcompat.app.AppCompatActivity
import
com.frostnerd.smokescreen.R
import
com.frostnerd.smokescreen.fragment.showLogExportDialog
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
* <p>
* development@frostnerd.com
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
ErrorDialogActivity
:
AppCompatActivity
()
{
...
...
app/src/main/java/com/frostnerd/smokescreen/activity/MainActivity.kt
View file @
525da936
...
...
@@ -21,6 +21,24 @@ import com.frostnerd.smokescreen.fragment.SettingsFragment
import
kotlinx.coroutines.GlobalScope
import
kotlinx.coroutines.launch
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
MainActivity
:
NavigationDrawerActivity
()
{
private
var
textColor
:
Int
=
0
private
var
backgroundColor
:
Int
=
0
...
...
@@ -103,7 +121,12 @@ class MainActivity : NavigationDrawerActivity() {
showInfoTextDialog
(
this
@MainActivity
,
getString
(
R
.
string
.
menu_about
),
getString
(
R
.
string
.
about_app
,
BuildConfig
.
VERSION_NAME
,
BuildConfig
.
VERSION_CODE
,
AppDatabase
.
currentVersion
)
getString
(
R
.
string
.
about_app
,
BuildConfig
.
VERSION_NAME
,
BuildConfig
.
VERSION_CODE
,
AppDatabase
.
currentVersion
)
)
false
})
...
...
@@ -112,8 +135,8 @@ class MainActivity : NavigationDrawerActivity() {
override
fun
onBackPressed
()
{
val
fragment
=
currentFragment
if
(
fragment
!=
null
&&
fragment
is
BackpressFragment
)
{
if
(!
fragment
.
onBackPressed
())
super
.
onBackPressed
()
if
(
fragment
!=
null
&&
fragment
is
BackpressFragment
)
{
if
(!
fragment
.
onBackPressed
())
super
.
onBackPressed
()
}
else
{
super
.
onBackPressed
()
}
...
...
app/src/main/java/com/frostnerd/smokescreen/activity/QueryImportActivity.kt
View file @
525da936
...
...
@@ -12,14 +12,23 @@ import org.minidns.record.Record
import
java.io.BufferedReader
import
java.io.InputStreamReader
/**
* Copyright Daniel Wolf 2019
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
QueryImportActivity
:
AppCompatActivity
()
{
...
...
app/src/main/java/com/frostnerd/smokescreen/activity/ServerImportActivity.kt
View file @
525da936
...
...
@@ -18,14 +18,23 @@ import java.io.InputStreamReader
import
java.net.HttpURLConnection
import
java.net.URL
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
* <p>
* development@frostnerd.com
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
ServerImportActivity
:
BaseActivity
()
{
override
fun
getConfiguration
():
Configuration
{
...
...
app/src/main/java/com/frostnerd/smokescreen/database/AppDatabase.kt
View file @
525da936
...
...
@@ -9,14 +9,23 @@ import com.frostnerd.smokescreen.database.entities.DnsQuery
import
com.frostnerd.smokescreen.database.repository.CachedResponseRepository
import
com.frostnerd.smokescreen.database.repository.DnsQueryRepository
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
@Database
(
entities
=
[
CachedResponse
::
class
,
DnsQuery
::
class
],
version
=
AppDatabase
.
currentVersion
)
...
...
app/src/main/java/com/frostnerd/smokescreen/database/Extensions.kt
View file @
525da936
...
...
@@ -10,14 +10,23 @@ import org.minidns.record.Record
import
java.io.ByteArrayInputStream
import
java.io.DataInputStream
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
private
var
INSTANCE
:
AppDatabase
?
=
null
...
...
app/src/main/java/com/frostnerd/smokescreen/database/converters/DnsRecordMapConverter.kt
View file @
525da936
...
...
@@ -4,14 +4,23 @@ import androidx.room.TypeConverter
import
com.google.gson.Gson
import
com.google.gson.reflect.TypeToken
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
DnsRecordMapConverter
{
@TypeConverter
...
...
app/src/main/java/com/frostnerd/smokescreen/database/converters/DnsTypeConverter.kt
View file @
525da936
...
...
@@ -3,14 +3,23 @@ package com.frostnerd.smokescreen.database.converters
import
androidx.room.TypeConverter
import
org.minidns.record.Record
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
DnsTypeConverter
{
@TypeConverter
...
...
app/src/main/java/com/frostnerd/smokescreen/database/converters/StringListConverter.kt
View file @
525da936
...
...
@@ -5,14 +5,23 @@ import com.google.gson.reflect.TypeToken
import
com.google.gson.Gson
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
class
StringListConverter
{
private
val
gson
=
Gson
()
...
...
app/src/main/java/com/frostnerd/smokescreen/database/dao/CachedResponseDao.kt
View file @
525da936
...
...
@@ -6,14 +6,23 @@ import androidx.room.Insert
import
androidx.room.Query
import
com.frostnerd.smokescreen.database.entities.CachedResponse
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
@Dao
interface
CachedResponseDao
{
...
...
app/src/main/java/com/frostnerd/smokescreen/database/dao/DnsQueryDao.kt
View file @
525da936
...
...
@@ -4,14 +4,23 @@ import androidx.lifecycle.LiveData
import
androidx.room.*
import
com.frostnerd.smokescreen.database.entities.DnsQuery
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can contact the developer at daniel.wolf@frostnerd.com.
*/
@Dao
interface
DnsQueryDao
{
...
...
app/src/main/java/com/frostnerd/smokescreen/database/entities/CachedResponse.kt
View file @
525da936
...
...
@@ -7,14 +7,23 @@ import com.frostnerd.smokescreen.database.converters.DnsRecordMapConverter
import
com.frostnerd.smokescreen.database.converters.DnsTypeConverter
import
org.minidns.record.Record
/**
* Copyright Daniel Wolf 2018
* All rights reserved.
* Code may NOT be used without proper permission, neither in binary nor in source form.
* All redistributions of this software in source code must retain this copyright header
* All redistributions of this software in binary form must visibly inform users about usage of this software
/*
* Copyright (C) 2019 Daniel Wolf (Ch4t4r)
*
* development@frostnerd.com
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.