Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
PlayWallServer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PlayWall
PlayWallServer
Commits
e8060144
Commit
e8060144
authored
8 years ago
by
Tobias Ullerich
Browse files
Options
Downloads
Patches
Plain Diff
Add icon and category to plugin
parent
1c703b16
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/scala/de/tobias/playpad/server/plugin/Plugin.scala
+5
-1
5 additions, 1 deletion
src/main/scala/de/tobias/playpad/server/plugin/Plugin.scala
with
5 additions
and
1 deletion
src/main/scala/de/tobias/playpad/server/plugin/Plugin.scala
+
5
−
1
View file @
e8060144
...
@@ -14,8 +14,10 @@ import com.j256.ormlite.table.DatabaseTable
...
@@ -14,8 +14,10 @@ import com.j256.ormlite.table.DatabaseTable
@DatabaseField
var
path
:
String
=
_
@DatabaseField
var
path
:
String
=
_
@DatabaseField
var
version
:
String
=
_
@DatabaseField
var
version
:
String
=
_
@DatabaseField
var
build
:
Int
=
_
@DatabaseField
var
build
:
Int
=
_
@DatabaseField
var
icon
:
String
=
_
@DatabaseField
var
category
:
String
=
_
def
this
(
name
:
String
,
displayName
:
String
,
path
:
String
,
description
:
String
,
version
:
String
,
build
:
Int
)
{
def
this
(
name
:
String
,
displayName
:
String
,
path
:
String
,
description
:
String
,
version
:
String
,
build
:
Int
,
icon
:
String
,
category
:
String
)
{
this
()
this
()
this
.
name
=
name
this
.
name
=
name
this
.
displayName
=
displayName
this
.
displayName
=
displayName
...
@@ -23,6 +25,8 @@ import com.j256.ormlite.table.DatabaseTable
...
@@ -23,6 +25,8 @@ import com.j256.ormlite.table.DatabaseTable
this
.
description
=
description
this
.
description
=
description
this
.
version
=
version
this
.
version
=
version
this
.
build
=
build
this
.
build
=
build
this
.
icon
=
icon
this
.
category
=
category
}
}
def
getId
:
Int
=
id
def
getId
:
Int
=
id
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment