Added by Jing Tao almost 12 years ago
Move the two classess from d1_common to d1_libclient and renamed their names.