mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
28 lines
424 B
Java
28 lines
424 B
Java
package org.briarproject.android.blogs;
|
|
|
|
import org.briarproject.api.blogs.Blog;
|
|
|
|
class BlogItem {
|
|
|
|
private final Blog blog;
|
|
private final boolean ours, removable;
|
|
|
|
BlogItem(Blog blog, boolean ours, boolean removable) {
|
|
this.blog = blog;
|
|
this.ours = ours;
|
|
this.removable = removable;
|
|
}
|
|
|
|
Blog getBlog() {
|
|
return blog;
|
|
}
|
|
|
|
boolean isOurs() {
|
|
return ours;
|
|
}
|
|
|
|
boolean canBeRemoved() {
|
|
return removable;
|
|
}
|
|
}
|