wmi

git clone git://oldgit.suckless.org/wmi/
Log | Files | Refs | LICENSE

prompt.cpp (375B)


      1 // Copyright (c) 2003 - 2009 Anselm R Garbe <anselm@garbe.us>
      2 // See LICENSE for license details.
      3 
      4 #include "prompt.h"
      5 
      6 #include "binder.h"
      7 
      8 Prompt::Prompt(string prompt, QueryNamesForPrefix toQuery)
      9 {
     10     prompt_ = prompt;
     11     toQuery_ = toQuery;
     12 }
     13 
     14 string Prompt::prompt() const {
     15     return prompt_;
     16 }
     17 
     18 QueryNamesForPrefix Prompt::toQuery() const {
     19     return toQuery_;
     20 }