ApplicationInterface


Object Hierarchy:

Object hierarchy for ApplicationInterface

Description:

public interface ApplicationInterface : Object

Interface for OLLMchat applications that provides standardized configuration and data directory management.

Implementations may register tool config types in OLLMtools.Registry before calling `load_config()`. The base_load_config() method loads Config2 from ~/.config/ollmchat/config.2.json when present.

Example

public class MyApp : Object, ApplicationInterface {
public Settings.Config2 config { get; set; }
public string data_dir { get; set; default = "~/.local/share/myapp"; }

public Settings.Config2 load_config() {
return base_load_config();
}
}

Since:

1.0

All known implementing classes:

Namespace: OLLMchat
Package: ollmchat

Content:

Properties:

Static methods:

Methods:

Inherited Members:

All known members inherited from class GLib.Object