1 #include "button_handler.hpp" 2 3 int main(int argc, char* argv[]) 4 { 5 auto bus = sdbusplus::bus::new_default(); 6 7 phosphor::button::Handler handler{bus}; 8 9 while (true) 10 { 11 bus.process_discard(); 12 bus.wait(); 13 } 14 return 0; 15 } 16