2 * Copyright 2017 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
12 #include <ColumnListView.h>
23 class RepoRow
: public BRow
{
25 RepoRow(const char* repo_name
,
26 const char* repo_url
, bool enabled
);
28 const char* Name() const { return fName
.String(); }
29 void SetName(const char* name
);
30 const char* Url() const { return fUrl
.String(); }
31 void SetEnabled(bool enabled
);
32 void RefreshEnabledField();
33 bool IsEnabled() { return fEnabled
; }
34 void SetTaskState(uint32 state
);
35 uint32
TaskState() { return fTaskState
; }
36 void SetHasSiblings(bool hasSiblings
)
37 { fHasSiblings
= hasSiblings
; }
38 bool HasSiblings() { return fHasSiblings
; }