25 lines
441 B
Swift
25 lines
441 B
Swift
//
|
|
// AccountManagerEntry.swift
|
|
// meterios
|
|
//
|
|
// (c) 2025 Martin "maride" Dessauer
|
|
//
|
|
|
|
struct AccountManagerEntry {
|
|
private let account: Account
|
|
private let client: MeteClient
|
|
|
|
init(_ account: Account) {
|
|
self.account = account
|
|
self.client = MeteClient(account: account)
|
|
}
|
|
|
|
func GetAccount() -> Account {
|
|
return account
|
|
}
|
|
|
|
func GetClient() -> MeteClient {
|
|
return client
|
|
}
|
|
}
|